1163
Touch a file in Linux
(programming.dev)
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
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.