On Tue, Oct 21, 2014 at 9:45 AM, Valerio Pachera <sirio81@xxxxxxxxx> wrote:
[Service]
EnvironmentFile=/etc/conf.d/
sheep.conf
ExecStart=/usr/sbin/sheep --pidfile /var/run/sheep.pid ${SHEEP_OPTS}
${SHEEP_PATH}
PIDFile=/var/run/sheep.pid
Type=forking
Does sheep fork by default? Is there an option to make it not fork?
The reason I ask is that Type=simple should be preferred. Then there's no PID file to track since it stays the same and it's preferred over Type=forking which is mainly for sysvinit compatibility.
Thanks,
Richard
-- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct