chraebsli to Programmer [email protected] • 1 year agoTouch a file in Linuxprogramming.devimagemessage-square94fedilinkarrow-up11.2K
arrow-up11.2KimageTouch a file in Linuxprogramming.devchraebsli to Programmer [email protected] • 1 year agomessage-square94fedilink
minus-squareZürilinkfedilink33•1 year agoWe use it to trigger service restarts. touch tmp/service-restart.txt Using monit to detect the timestamp change and do the actual restart command.
minus-square@[email protected]linkfedilink6•1 year agoThis is an interesting idea to allow non-root users to restart a service. It looks like this is doable with systemd too. https://superuser.com/a/1531261
minus-squareZürilinkfedilink2•1 year agoIndeed. Replacing monit with systemd for this job is still on our todo list.
We use it to trigger service restarts.
Using
monit
to detect the timestamp change and do the actual restart command.This is an interesting idea to allow non-root users to restart a service. It looks like this is doable with systemd too. https://superuser.com/a/1531261
Indeed. Replacing monit with systemd for this job is still on our todo list.