diff options
author | drebs <drebs@leap.se> | 2016-12-23 16:46:32 -0200 |
---|---|---|
committer | drebs <drebs@leap.se> | 2016-12-23 17:12:01 -0200 |
commit | 0d1148c8b1ba1b6c575f08e07fca41f033930273 (patch) | |
tree | 11002951adde340210d9df37a4729725e8fc77b3 /server/pkg/soledad-server.service | |
parent | 345c10145726080ec79e0eabec0af9a0e6fe7490 (diff) |
[pkg] avoid writing a pid file
The --pidfile= flag prevents twistd from writing a pidfile. A pidfile is
not necessary when Twisted runs as a foreground process.
See: https://twistedmatrix.com/documents/current/core/howto/systemd.html
Diffstat (limited to 'server/pkg/soledad-server.service')
-rw-r--r-- | server/pkg/soledad-server.service | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/pkg/soledad-server.service b/server/pkg/soledad-server.service index b7e3c0a9..ccd03b97 100644 --- a/server/pkg/soledad-server.service +++ b/server/pkg/soledad-server.service @@ -13,6 +13,7 @@ EnvironmentFile=-/etc/default/soledad ExecStart=/usr/bin/twistd \ --nodaemon \ + --pidfile= \ --syslog \ --prefix=soledad-server \ web \ |