diff options
author | Jonathan Billings <jsbillin@umich.edu> | 2013-01-15 14:03:06 -0500 |
---|---|---|
committer | Jonathan Billings <jsbillin@umich.edu> | 2013-01-15 14:03:06 -0500 |
commit | e4f278928f547d60d58afcbaf0f3c7d8ddaae962 (patch) | |
tree | df7d3aab3749169f977fff6d84a606428342a303 /tools/encap-util-place.sh | |
parent | 029ff311c5560ac7231c6852d872b951aad9b0e6 (diff) | |
download | bcfg2-e4f278928f547d60d58afcbaf0f3c7d8ddaae962.tar.gz bcfg2-e4f278928f547d60d58afcbaf0f3c7d8ddaae962.tar.bz2 bcfg2-e4f278928f547d60d58afcbaf0f3c7d8ddaae962.zip |
Systemd: Fix server systemd unit
* Run the daemon with -D /run/bcfg2-server.pid. If you don't run it
with -D PID, it doesn't fork, and since the unit file is
Type=forking, the service eventually times out and fails.
* Use the PIDFile unit option to give systemd a hint where the PID
file is located. This is recommended when using Type=forking by the
systemd documentation.
* Use $BCFG2_SERVER_OPTIONS, which is defined in
/etc/sysconfig/bcfg2-server, instead of $OPTIONS, which is not.
Diffstat (limited to 'tools/encap-util-place.sh')
0 files changed, 0 insertions, 0 deletions