|
|
@ -1,13 +1,15 @@
|
|
|
|
# /etc/systemd/system/traktarr.service
|
|
|
|
# /etc/systemd/system/traktarr.service
|
|
|
|
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
[Unit]
|
|
|
|
Description=traktarr
|
|
|
|
Description=Traktarr
|
|
|
|
After=network-online.target
|
|
|
|
After=network-online.target
|
|
|
|
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
[Service]
|
|
|
|
User=seed
|
|
|
|
User=seed
|
|
|
|
Group=seed
|
|
|
|
Group=seed
|
|
|
|
Type=simple
|
|
|
|
Type=simple
|
|
|
|
|
|
|
|
Environment="LC_ALL=C.UTF-8"
|
|
|
|
|
|
|
|
Environment="LANG=C.UTF-8"
|
|
|
|
WorkingDirectory=/opt/traktarr/
|
|
|
|
WorkingDirectory=/opt/traktarr/
|
|
|
|
ExecStart=/usr/bin/python3 /opt/traktarr/traktarr.py run
|
|
|
|
ExecStart=/usr/bin/python3 /opt/traktarr/traktarr.py run
|
|
|
|
Restart=always
|
|
|
|
Restart=always
|
|
|
|