diff options
author | Daniel Golle <daniel@makrotopia.org> | 2021-08-08 14:47:54 +0100 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2021-08-08 15:26:28 +0100 |
commit | 80be893d2b3bf550ece5c15cf7ed967b31f7042d (patch) | |
tree | c498a20223207c77a2796d272eff3bcabb9df981 /include | |
parent | b1bff5cb57fab31932ceaa0dea9509effe9f5800 (diff) | |
download | upstream-80be893d2b3bf550ece5c15cf7ed967b31f7042d.tar.gz upstream-80be893d2b3bf550ece5c15cf7ed967b31f7042d.tar.bz2 upstream-80be893d2b3bf550ece5c15cf7ed967b31f7042d.zip |
procd: change procd_add_start_mount_trigger to do restart
Change procd_add_start_mount_trigger to procd_add_restart_mount_trigger
and make it call 'restart' instead of 'start'.
This is more useful as it allows to handle both cases, intial start of
a services as well as restarting services. Calling 'restart' on a
service which has not yet been started has the same result as calling
'start'.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions