User Tools

Site Tools


systemd

This is an old revision of the document!


Minimal example script

[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 
<code>
 
<code bash>
sudo systemd-analyze verify my.service
systemd.1547041675.txt.gz · Last modified: 2019/01/09 14:47 by mantis