Systemd: Added language env variables to service file.

Closes #83
pull/93/head
desimaniac 5 years ago
parent 3d6200a3e8
commit 234c4635b8

@ -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

Loading…
Cancel
Save