Hi, Perry Naseck <mailingli...@perrynaseck.com> writes:
> I am in the process of updating/upgrading a package from an init.d service > to a Systemd service. Are there any recommended guidelines for this process? > > Looking through some current packages I see that a lot of them have both an > init script and a Systemd service in their debian folder. Do > dh_installsystemd and dh_installinit handle this smoothly by default if both > files exist? When upgrading the package on a machine will it stop the init > service and start the Systemd service? Assuming your unit file and init script have the same name, then yes. One thing I'd say is: please keep the init script in your package, so that people using inits other than systemd can continue to use it. Thanks, Matthew -- "At least you know where you are with Microsoft." "True. I just wish I'd brought a paddle." http://www.debian.org