- Let's say you have a SysV Init Script named myservice
- Copy the file to /etc/init.d/myservice
- Enable the SysV service: update-rc.d myservice defaults
- Start the service: service myservice start.
- After this, systemd-sysv-generator will generate this file /run/systemd/generator.late/myservice.service.
Copy this file to /etc/systemd/system by running: cp /run/systemd/generator.late/myservice.service /etc/systemd/system/myservice.service - Edit /etc/systemd/system/myservice.service by running systemctl edit myservice.service. Add in the following line to myservice.service (this makes the service installable)