-
For example, I have an emacs daemon that needs to be reloaded to read changed config, and to do this I need to do something like: if [ "$(systemctl --user is-active emacs.service)" = "active" ]; then
systemctl --user restart emacs.service
fi |
Beta Was this translation helpful? Give feedback.
Answered by
twpayne
Apr 24, 2022
Replies: 1 comment
-
No, there's no such feature built in, but you can achieve this with a |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
k4leg
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No, there's no such feature built in, but you can achieve this with a
run_after_
script that checks the checksum of the config file and restarts the service if the checksum has changed.