- Create a service file at
/usr/lib/systemd/system/<name>.service
systemctl enable <name>
systemctl start <name>
Service template:
[Unit]
Description=
[Service]
Type=notify # The systemd process will wait for this to happen before proceeding to other units
ExecStart=
[Install]
WantedBy=multi-user.target # The service will start when the system reach runlevel 2