*it seems that "sv u http-e-smith" gives no errors, even if the
+
*it seems that "sv u http-e-smith" gives no errors, even if the service fails to restart, so you need to use "sv s httpd-e-smith" to check if it fails (example: due to a httpd.conf error)
−
service fails to restart, so you need to use "sv s httpd-e-smith" to check if it fails
−
(example: due to a httpd.conf error)
This is just the way that runsv (part of the runit package) works. The "sv u http-e-smith"
This is just the way that runsv (part of the runit package) works. The "sv u http-e-smith"
only sends a message to runsv saying that we want the service to be up.
only sends a message to runsv saying that we want the service to be up.
runsv then will keep trying to get the service running.
runsv then will keep trying to get the service running.