summarylogtreecommitdiffstats
path: root/couchpotato.service
diff options
context:
space:
mode:
authorBen Ruijl2016-05-05 11:41:02 +0200
committerBen Ruijl2016-05-05 11:41:02 +0200
commit3f2e4c483a84333e5eb56941e774410a26febfe3 (patch)
treeb74d82960348e8ab0b1a5eb9be3b5c9f4dfec8e1 /couchpotato.service
parentf7c0ddce362e1ffbddedb3be9376e2b813872f78 (diff)
downloadaur-3f2e4c483a84333e5eb56941e774410a26febfe3.tar.gz
Several fixes
- env python is replaced by env python2 - No more forking for systemd process - Added provides and conflicts
Diffstat (limited to 'couchpotato.service')
-rw-r--r--couchpotato.service6
1 files changed, 3 insertions, 3 deletions
diff --git a/couchpotato.service b/couchpotato.service
index 322d16299f46..18eb14f758ca 100644
--- a/couchpotato.service
+++ b/couchpotato.service
@@ -1,10 +1,10 @@
[Unit]
Description=An automatic NZB and torrent movie downloader
+After=network.target
[Service]
-ExecStart=/usr/bin/python2 /opt/couchpotato/CouchPotato.py --config_file /opt/couchpotato/config.ini --data_dir /opt/couchpotato/data --daemon --quiet
-GuessMainPID=no
-Type=forking
+ExecStart=/usr/bin/python2 /opt/couchpotato/CouchPotato.py --config_file /opt/couchpotato/config.ini --data_dir /opt/couchpotato/data --quiet
+Type=simple
User=couchpotato
Group=couchpotato