Skip to content
Snippets Groups Projects
Commit cbeb2088 authored by Stephen D's avatar Stephen D
Browse files

add service

parent 421adf3a
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,9 @@ license = "MIT"
assets = [
["target/release/serve", "usr/bin/commoncrawl_graph_serve", "755"],
["target/release/import", "usr/bin/commoncrawl_graph_import", "755"],
["debian/commoncrawl_graph_serve.service", "/lib/systemd/system/", "644"]
]
maintainer-scripts = "debian/maintainer_scripts/"
copyright = "2024, Stephen D <@stephen:crabsin.space>"
maintainer = "Stephen D <@stephen:crabsin.space>"
......
[Unit]
Description=Commoncrawl Graph Serve
After=syslog.target network.target
[Service]
PIDFile=/run/commoncrawl_graph_serve.pid
ExecStart=/usr/bin/commoncrawl_graph_serve
ExecReload=/bin/kill -s HUP $MAINPID
ExecStop=/bin/kill -s QUIT $MAINPID
PrivateTmp=true
User=commoncrawl
[Install]
WantedBy=multi-user.target
\ No newline at end of file
adduser --system --system trunkwhisper
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment