diff --git a/misc/config.py b/misc/config.py index 785e701..0525488 100644 --- a/misc/config.py +++ b/misc/config.py @@ -66,7 +66,7 @@ base_config = { } }, 'notifications': { - 'verbose': False, + 'verbose': True, 'my slack': { 'service': 'slack', 'webhook_url': '' diff --git a/systemd/traktarr.service b/systemd/traktarr.service new file mode 100644 index 0000000..43fb188 --- /dev/null +++ b/systemd/traktarr.service @@ -0,0 +1,17 @@ +# /etc/systemd/system/traktarr.service + +[Unit] +Description=traktarr +After=network-online.target unionfs.service + +[Service] +User=seed +Group=seed +Type=simple +WorkingDirectory=/opt/traktarr/ +ExecStart=/usr/bin/python3 /opt/traktarr/traktarr.py run +Restart=always +RestartSec=10 + +[Install] +WantedBy=default.target