/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
sudo systemctl enable osrm.service
sudo systemd-analyze verify my.service