====== Minimal example script ====== /etc/systemd/system/osrm.service [Unit] Description=OSRM [Service] ExecStart=/usr/local/bin/osrm-routed --algorithm=ch --max-table-size=1000 /data/osrm/latest.osrm WorkingDirectory=/home/osrm User=osrm Group=osrm [Install] WantedBy=multi-user.target ===== Enable service ===== sudo systemctl enable osrm.service ===== Debug service ===== sudo systemd-analyze verify my.service [[http://example.com|Full docs]].