Creating a systemd service

[Unit]
Description=Start some application
After=network.target

[Service]
Type=simple
ExecStart=/usr/local/sbin/startup.sh
ExecStop=/usr/local/sbin/stop.sh
TimeoutStartSec=0
RemainAfterExit=yes

[Install]
WantedBy=default.target

Comments are closed.