mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-07 05:31:15 -07:00
Update systemd script instructions
This commit is contained in:
parent
a8a676b794
commit
7b4eadb140
1 changed files with 19 additions and 16 deletions
|
@ -4,35 +4,36 @@
|
||||||
#
|
#
|
||||||
# INSTALLATION NOTES
|
# INSTALLATION NOTES
|
||||||
#
|
#
|
||||||
# 1. Rename this file as you want, ensuring that it ends in .service
|
# 1. Copy this file into your systemd service unit directory (often '/lib/systemd/system')
|
||||||
# e.g. 'tautulli.service'
|
# and name it 'tautulli.service' with the following command:
|
||||||
|
# cp /opt/Tautulli/init-scripts/init.systemd /lib/systemd/system/tautulli.service
|
||||||
#
|
#
|
||||||
# 2. Adjust configuration settings as required. More details in the
|
# 2. Edit the new tautulli.service file with configuration settings as required.
|
||||||
# "CONFIGURATION NOTES" section shown below.
|
# More details in the "CONFIGURATION NOTES" section shown below.
|
||||||
#
|
#
|
||||||
# 3. Copy this file into your systemd service unit directory, which is
|
# 3. Enable boot-time autostart with the following commands:
|
||||||
# often '/lib/systemd/system'.
|
|
||||||
#
|
|
||||||
# 4. Enable boot-time autostart with the following commands:
|
|
||||||
# systemctl daemon-reload
|
# systemctl daemon-reload
|
||||||
# systemctl enable tautulli.service
|
# systemctl enable tautulli.service
|
||||||
#
|
#
|
||||||
# 5. Start now with the following command:
|
# 4. Start now with the following command:
|
||||||
# systemctl start tautulli.service
|
# systemctl start tautulli.service
|
||||||
#
|
#
|
||||||
# CONFIGURATION NOTES
|
# CONFIGURATION NOTES
|
||||||
#
|
#
|
||||||
# - 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:
|
# - The example settings in this file assume that Tautulli is installed to: /opt/Tautulli
|
||||||
|
#
|
||||||
|
# - 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)
|
|
||||||
#
|
|
||||||
# - Adjust ExecStart= to point to:
|
# - Adjust ExecStart= to point to:
|
||||||
# 1. Your Tautulli executable,
|
# 1. Your Tautulli executable
|
||||||
|
# - Default: /opt/Tautulli/Tautulli.py
|
||||||
# 2. Your config file (recommended is to put it somewhere in /etc)
|
# 2. Your config file (recommended is to put it somewhere in /etc)
|
||||||
|
# - Default: --config /opt/Tautulli/config.ini
|
||||||
# 3. Your datadir (recommended is to NOT put it in your Tautulli exec dir)
|
# 3. Your datadir (recommended is to NOT put it in your Tautulli exec dir)
|
||||||
|
# - Default: --datadir /opt/Tautulli
|
||||||
#
|
#
|
||||||
# - Adjust User= and Group= to the user/group you want Tautulli to run as.
|
# - Adjust User= and Group= to the user/group you want Tautulli to run as.
|
||||||
#
|
#
|
||||||
|
@ -42,9 +43,11 @@
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Tautulli - Stats for Plex Media Server usage
|
Description=Tautulli - Stats for Plex Media Server usage
|
||||||
|
Wants=network-online.target
|
||||||
|
After=network-online.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/opt/Tautulli/Tautulli.py --quiet --daemon --nolaunch --config /opt/Tautulli/config.ini --datadir /opt/Tautulli
|
ExecStart=/opt/Tautulli/Tautulli.py --config /opt/Tautulli/config.ini --datadir /opt/Tautulli --quiet --daemon --nolaunch
|
||||||
GuessMainPID=no
|
GuessMainPID=no
|
||||||
Type=forking
|
Type=forking
|
||||||
User=tautulli
|
User=tautulli
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue