Overpass-API icon indicating copy to clipboard operation
Overpass-API copied to clipboard

shutdown script for ubuntu w/systemd

Open rwelty1889 opened this issue 4 years ago • 1 comments

this may not really be necessary, but i set up this simple script to drop into /usr/lib/systemd/system-shutdown/ where it will be run at shutdown if permissions are set to 755.

#!/bin/sh sudo -u overpass /opt/overpass/bin/dispatcher --areas --terminate sudo -u overpass /opt/overpass/bin/dispatcher --osm-base --terminate

rwelty1889 avatar May 03 '20 21:05 rwelty1889

Definitely a good idea.

drolbr avatar Oct 18 '20 06:10 drolbr