diff --git a/repl_graph.service b/repl_graph.service new file mode 100644 index 0000000000000000000000000000000000000000..f6b92f5b55b4f1b3c4b78b51ed0e81db9a7d4b8e --- /dev/null +++ b/repl_graph.service @@ -0,0 +1,20 @@ +[Unit] +Description=The repl_graph daemon. +After=network.target + +# systemctl link $PWD/repl_graph.service +# systemctl enable repl_graph.service +# systemctl start repl_graph.service +# systemctl status repl_graph.service + +[Service] +User=nobody +Type=simple +StandardOutput=null +StandardError=null +Restart=no +WorkingDirectory=/usr/local/share/az +ExecStart=/bin/bash -l -c 'source bin/activate;./server' + +[Install] +WantedBy=multi-user.target