minus-squareZüri@lemmy.mltoProgrammer Humor@programming.dev•Touch a file in Linuxlinkfedilinkarrow-up25·4 months 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. linkfedilink
minus-squareZüri@lemmy.mltoAsk Lemmy@lemmy.world•Lets start a new Lemmy holiday tradition. What's a song you've been digging lately?linkfedilinkarrow-up2·6 months agoIn my head for weeks now. Chicane - Don’t Give Up https://g.co/kgs/zBzUsy linkfedilink
We use it to trigger service restarts.
touch tmp/service-restart.txt
Using
monit
to detect the timestamp change and do the actual restart command.