aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/solo-tool.service
diff options
context:
space:
mode:
Diffstat (limited to 'deployment/solo-tool.service')
-rw-r--r--deployment/solo-tool.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/deployment/solo-tool.service b/deployment/solo-tool.service
new file mode 100644
index 0000000..78b3bcb
--- /dev/null
+++ b/deployment/solo-tool.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Solo tool web frontend service
+After=network.target
+
+[Service]
+Environment="SERVICE_DIR=/var/lib/solo-tool"
+Environment="SESSION_DIR=${SERVICE_DIR}/sessions"
+Environment="SONG_POOL=${SERVICE_DIR}/songs"
+ExecStart=/var/lib/solo-tool/start-solo-tool.sh
+
+[Install]
+WantedBy=multi-user.target