From 861a4b3c6fd59ff2ba3a7b7d3bb54a12df4b3a47 Mon Sep 17 00:00:00 2001 From: Vainsocial root Date: Tue, 7 Mar 2017 17:42:21 +0000 Subject: first setup --- vainsocial-compiler.service | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 vainsocial-compiler.service (limited to 'vainsocial-compiler.service') diff --git a/vainsocial-compiler.service b/vainsocial-compiler.service new file mode 100644 index 0000000..f7110a7 --- /dev/null +++ b/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/config.env + +[Install] +WantedBy=multi-user.target -- cgit v1.3.1