mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-06 05:01:14 -07:00
Capitalize Tautulli folder in init scripts
This commit is contained in:
parent
51b1ff6d4a
commit
8146e1e3cf
3 changed files with 5 additions and 5 deletions
|
@ -14,7 +14,7 @@
|
||||||
# default. Do not sets it as empty or it will run
|
# default. Do not sets it as empty or it will run
|
||||||
# as root.
|
# as root.
|
||||||
# tautulli_dir: Directory where Tautulli lives.
|
# tautulli_dir: Directory where Tautulli lives.
|
||||||
# Default: /usr/local/share/tautulli
|
# Default: /usr/local/share/Tautulli
|
||||||
# tautulli_chdir: Change to this directory before running Tautulli.
|
# tautulli_chdir: Change to this directory before running Tautulli.
|
||||||
# Default is same as tautulli_dir.
|
# Default is same as tautulli_dir.
|
||||||
# tautulli_pid: The name of the pidfile to create.
|
# tautulli_pid: The name of the pidfile to create.
|
||||||
|
@ -30,7 +30,7 @@ load_rc_config ${name}
|
||||||
|
|
||||||
: ${tautulli_enable:="NO"}
|
: ${tautulli_enable:="NO"}
|
||||||
: ${tautulli_user:="tautulli"}
|
: ${tautulli_user:="tautulli"}
|
||||||
: ${tautulli_dir:="/usr/local/share/tautulli"}
|
: ${tautulli_dir:="/usr/local/share/Tautulli"}
|
||||||
: ${tautulli_chdir:="${tautulli_dir}"}
|
: ${tautulli_chdir:="${tautulli_dir}"}
|
||||||
: ${tautulli_pid:="${tautulli_dir}/tautulli.pid"}
|
: ${tautulli_pid:="${tautulli_dir}/tautulli.pid"}
|
||||||
: ${tautulli_flags:=""}
|
: ${tautulli_flags:=""}
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
<method_credential user="tautulli" group="nogroup"/>
|
<method_credential user="tautulli" group="nogroup"/>
|
||||||
</method_context>
|
</method_context>
|
||||||
|
|
||||||
<exec_method type="method" name="start" exec="python /opt/tautulli/PlexPy.py --daemon --quiet --nolaunch" timeout_seconds="60"/>
|
<exec_method type="method" name="start" exec="python /opt/Tautulli/PlexPy.py --daemon --quiet --nolaunch" timeout_seconds="60"/>
|
||||||
|
|
||||||
<exec_method type="method" name="stop" exec=":kill" timeout_seconds="60"/>
|
<exec_method type="method" name="stop" exec=":kill" timeout_seconds="60"/>
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
# - The example settings in this file assume that you will run Tautulli as user: tautulli
|
# - The example settings in this file assume that you will run Tautulli as user: tautulli
|
||||||
# - To create this user and give it ownership of the tautulli directory:
|
# - To create this user and give it ownership of the tautulli directory:
|
||||||
# sudo adduser --system --no-create-home tautulli
|
# sudo adduser --system --no-create-home tautulli
|
||||||
# sudo chown tautulli:nogroup -R /opt/tautulli
|
# sudo chown tautulli:nogroup -R /opt/Tautulli
|
||||||
#
|
#
|
||||||
# - Option names (e.g. ExecStart=, Type=) appear to be case-sensitive)
|
# - Option names (e.g. ExecStart=, Type=) appear to be case-sensitive)
|
||||||
#
|
#
|
||||||
|
@ -44,7 +44,7 @@
|
||||||
Description=Tautulli - Stats for Plex Media Server usage
|
Description=Tautulli - Stats for Plex Media Server usage
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/opt/tautulli/PlexPy.py --quiet --daemon --nolaunch --config /opt/tautulli/config.ini --datadir /opt/tautulli
|
ExecStart=/opt/Tautulli/PlexPy.py --quiet --daemon --nolaunch --config /opt/Tautulli/config.ini --datadir /opt/Tautulli
|
||||||
GuessMainPID=no
|
GuessMainPID=no
|
||||||
Type=forking
|
Type=forking
|
||||||
User=tautulli
|
User=tautulli
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue