Replace systemd script with init script

Colin Law clanlaw at gmail.com
Thu May 2 14:37:00 UTC 2024


On Wed, 1 May 2024 at 21:52, Helmut Schneider via ubuntu-users
<ubuntu-users at lists.ubuntu.com> wrote:
>
> Hi,
>
> I need to replace a systemd script with an init script. I know I can
> remove the existing one by
>
> SERVICE=$MY_SERVICE
> sudo systemctl disable $SERVICE

None of the rest should be necessary. Once you have disabled it then
it will not run automatically.  An upgrade to the package should not
re-enable it, that would be bad form.

I am intrigued as to why you want to do this.

Colin L.




More information about the ubuntu-users mailing list