From jumper99 at gmx.de Wed May 1 20:50:36 2024 From: jumper99 at gmx.de (Helmut Schneider) Date: Wed, 1 May 2024 22:50:36 +0200 Subject: Replace systemd script with init script Message-ID: 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 sudo rm /etc/systemd/system/$SERVICE sudo rm /usr/lib/systemd/system/$SERVICE sudo rm /lib/systemd/system/${SERVICE}.service sudo systemctl daemon-reload sudo systemctl reset-failed but is that the proper way to do so? What if the package updates, will it replace the init script with the systemd script again? 22.04 Thank you!