Re: [systemd-devel] Best approach to run python service in virtualenv with systemd

2016-04-17 Thread Lennart Poettering
On Thu, 14.04.16 15:40, Stanislav Kopp (stask...@gmail.com) wrote: > yes, looks normal to me. > > mercurial:/srv/kallithea# cat kallithea.pid > 7410mercurial:/srv/kallithea# So this suggests that your service doesn't place a trailing newline in that file, which isn't pretty, but actually

[systemd-devel] Best approach to run python service in virtualenv with systemd

2016-04-13 Thread Stanislav Kopp
Hi all, I'm trying to run kallithea using virtualenv, it kinda works (I can stop/start service) with this unit file [Unit] Description=Start Kallithea service After=network.target [Service] Type=forking User=kallithea WorkingDirectory=/srv/kallithea