aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/solo-tool.service
diff options
context:
space:
mode:
authorEddy Pedroni <epedroni@pm.me>2025-03-01 13:43:03 +0100
committerEddy Pedroni <epedroni@pm.me>2025-03-01 13:43:03 +0100
commit65ce968f68595d2d6a96a9974914c8511fc85029 (patch)
tree622f8ec2b0f371fdcc58e7e832c9fc85519bf1fd /deployment/solo-tool.service
parentc593f9635c941ba4a876fa2f3a5ecc734ce02e4d (diff)
Change systemd unit to run service as user
Diffstat (limited to 'deployment/solo-tool.service')
-rw-r--r--deployment/solo-tool.service4
1 files changed, 3 insertions, 1 deletions
diff --git a/deployment/solo-tool.service b/deployment/solo-tool.service
index 5fdfb11..9e24f4b 100644
--- a/deployment/solo-tool.service
+++ b/deployment/solo-tool.service
@@ -1,8 +1,10 @@
[Unit]
Description=Solo tool web frontend service
-After=network.target
+After=network-online.target
[Service]
+User=eddy
+Group=eddy
Environment="SERVICE_DIR=/var/lib/solo-tool"
Environment="SESSION_DIR=/var/lib/solo-tool/sessions"
Environment="SONG_POOL=/var/lib/solo-tool/songs"