Adding a simple systemd script

/etc/systemd/system/your-new.service:


[Unit]
Description=Your cool new service

[Service]
WorkingDirectory=/where/your/service/lives
ExecStart=/where/your/service/lives/bin/daemon

[Install]
WantedBy=multi-user.target

Leave a Reply

Your email address will not be published. Required fields are marked *