I have a script in /etc/init.d
that I'm trying to add echo
statements to...but all of my changes seem to be ignored.
I'm guessing because the script itself is not actually run but that systemd
is doing something behind the scenes to continue running the old version of the script. Is there a way to "load" these changes?
.service
file also exist for your service, or just the sysv-style script? – mattdm Feb 27 '17 at 22:06gogs
buried down in the comments to an answer. This information should be in the question. And answerers might also enjoy http://unix.stackexchange.com/a/307321/5132 . – JdeBP Feb 27 '17 at 22:14