Page MenuHomeSoftware Heritage

provide systemd service file for swh-graph
Closed, MigratedEdits Locked

Event Timeline

zack triaged this task as Low priority.Nov 13 2019, 3:32 PM
zack created this task.

It's up on granet, not committed yet because it should be included in a puppet integration diff.

can you also post it here, please?

Sure, it's as simple as you'd expect:

[Unit]
Description=swh graph dev service
After=network.target

[Service]
User=swhworker
Group=swhworker
ExecStart=/opt/swhgraph_venv/bin/swh graph rpc-serve -g /srv/softwareheritage/ssd/graph/latest/compressed/all

[Install]
WantedBy=multi-user.target