From 234c4635b8300adbf80591a83753c8713d992106 Mon Sep 17 00:00:00 2001 From: desimaniac <5501908+desimaniac@users.noreply.github.com> Date: Fri, 12 Jul 2019 13:12:46 -0500 Subject: [PATCH] Systemd: Added language env variables to service file. Closes #83 --- systemd/traktarr.service | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/systemd/traktarr.service b/systemd/traktarr.service index 84de089..54b427b 100644 --- a/systemd/traktarr.service +++ b/systemd/traktarr.service @@ -1,13 +1,15 @@ # /etc/systemd/system/traktarr.service [Unit] -Description=traktarr +Description=Traktarr After=network-online.target [Service] User=seed Group=seed Type=simple +Environment="LC_ALL=C.UTF-8" +Environment="LANG=C.UTF-8" WorkingDirectory=/opt/traktarr/ ExecStart=/usr/bin/python3 /opt/traktarr/traktarr.py run Restart=always