11 lines
358 B
SYSTEMD
11 lines
358 B
SYSTEMD
|
[Service]
|
||
|
User = osm
|
||
|
Group = osm
|
||
|
WorkingDirectory = /opt/osm/
|
||
|
ExecStartPre=/bin/sh -c "rm -f /opt/osm/db/osm*_base || true"
|
||
|
ExecStartPre=/bin/sh -c "rm -f /dev/shm/osm*_base || true"
|
||
|
ExecStart=/opt/osm/bin/dispatcher --osm-base --attic --db-dir=/opt/osm/db --rate-limit=-1 --allow-duplicate-queries=yes
|
||
|
LimitNOFILE=10000
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|