diff --git a/scripts/systemd/odyssey.service b/scripts/systemd/odyssey.service index e42627d40..ae6866c97 100644 --- a/scripts/systemd/odyssey.service +++ b/scripts/systemd/odyssey.service @@ -5,7 +5,8 @@ After=network.target [Service] User=odyssey Group=odyssey -Type=simple +Type=forking +PIDFile=/tmp/odyssey.pid ExecStart=/usr/bin/odyssey /etc/odyssey/odyssey.conf LimitNOFILE=100000 LimitNPROC=100000 diff --git a/scripts/systemd/odyssey@.service b/scripts/systemd/odyssey@.service index 34e43d02d..5d34c3844 100644 --- a/scripts/systemd/odyssey@.service +++ b/scripts/systemd/odyssey@.service @@ -5,7 +5,8 @@ After=network.target [Service] User=odyssey Group=odyssey -Type=simple +Type=forking +PIDFile=/tmp/odyssey.pid ExecStart=/usr/bin/odyssey /etc/odyssey/%i.conf LimitNOFILE=100000 LimitNPROC=100000