aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/solo-tool.service
diff options
context:
space:
mode:
authorEddy Pedroni <epedroni@pm.me>2025-02-28 23:13:26 +0100
committerEddy Pedroni <epedroni@pm.me>2025-02-28 23:13:26 +0100
commita9d91593bd408ef988dfaca4002f788b2387aac9 (patch)
treeca54243a3f128285783bec62b4f7fed7769176ec /deployment/solo-tool.service
parentcfbf415bf063d9743a40dc3c581aaf84e08a3465 (diff)
Add deployment files
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