diff options
Diffstat (limited to 'systemd/vainsocial-compiler.service')
| -rw-r--r-- | systemd/vainsocial-compiler.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/systemd/vainsocial-compiler.service b/systemd/vainsocial-compiler.service new file mode 100644 index 0000000..dc90979 --- /dev/null +++ b/systemd/vainsocial-compiler.service @@ -0,0 +1,13 @@ +[Unit] +Description=Vainsocial compiler service +After=network.target + +[Service] +Type=simple +User=vainsocial +ExecStart=/vainsocial/statscompiler/venv/bin/python /vainsocial/statscompiler/api.py +Restart=on-failure +EnvironmentFile=/vainsocial/systemd/config.env + +[Install] +WantedBy=multi-user.target |
