From 5b76d056fe723e532f0dc1caf706930335f3e017 Mon Sep 17 00:00:00 2001 From: Craig Cabrey Date: Wed, 10 Feb 2016 11:27:20 -0500 Subject: [PATCH] Don't daemonize when running as a systemd service --- init/couchpotato.service | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/init/couchpotato.service b/init/couchpotato.service index d3b52ba..c9a0c47 100644 --- a/init/couchpotato.service +++ b/init/couchpotato.service @@ -3,9 +3,8 @@ Description=CouchPotato application instance After=network.target [Service] -ExecStart=/var/lib/CouchPotatoServer/CouchPotato.py --daemon -GuessMainPID=no -Type=forking +ExecStart=/var/lib/CouchPotatoServer/CouchPotato.py +Type=simple User=couchpotato Group=couchpotato