Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • You've hand-duplicated a procedure that systemd already does for you. unix.stackexchange.com/a/233581/5132 Commented Sep 13, 2018 at 12:13
  • I believe systemd has kind of sys V init compatibility, so I don't think that's a good idea of writing a new service but not deleting original initscript service.Maybe just don't do anything (forget about systemd service file and take advantage of compatibility). Or RTFD and write a new service that call the actual service program and delete foo.sh. Commented Sep 13, 2018 at 12:19
  • Yeah I was thinking before starting the systemd ,just to stop and delete the init.d and then cleanly start using systemd? Commented Sep 13, 2018 at 12:26