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 ExecStart=/srv/kallithea/venv/bin/python2 /srv/kallithea/venv/bin/paster serve --daemon --pid-file=/srv/kallithea/kallithea.pid --log-file=/srv/kallithea/kallithea.log my.ini PIDFile=/srv/kallithea/kallithea.pid [Install] WantedBy=multi-user.target ######################################### but I always see "Failed to read PID from file /srv/kallithea/kallithea.pid: Invalid argument" in "systemctl status", I know that "PIDFile" option isn't a best practice and should be avoided, but withou it service doesn't running. Is there any better methods to run it or at least remove this pid error message? Thanks, Stan _______________________________________________ systemd-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/systemd-devel
