FS#32922 - [yaws] add systemd service file
Attached to Project:
Community Packages
Opened by Patrick Smits (PS0) - Saturday, 01 December 2012, 13:32 GMT
Last edited by Alexander F. Rødseth (xyproto) - Thursday, 17 January 2013, 13:33 GMT
Opened by Patrick Smits (PS0) - Saturday, 01 December 2012, 13:32 GMT
Last edited by Alexander F. Rødseth (xyproto) - Thursday, 17 January 2013, 13:33 GMT
|
Details
Please add a systemd service file for Yaws. I've attached a
service file that works for me (with Yaws package 1.95-1 on
a x86_64 architecture).
|
This task depends upon
Closed by Alexander F. Rødseth (xyproto)
Thursday, 17 January 2013, 13:33 GMT
Reason for closing: Fixed
Additional comments about closing: Didn't include GuessMainPID=no to the .service file, fixed now.
Thursday, 17 January 2013, 13:33 GMT
Reason for closing: Fixed
Additional comments about closing: Didn't include GuessMainPID=no to the .service file, fixed now.
In summary, there are two options:
1. Add the line 'GuessMainPID=no', which allows the restart feature to work correctly.
2. Remove the '--heart' flag from the ExecStart command, which disables the restart feature.