summarylogtreecommitdiffstats
path: root/system.service
diff options
context:
space:
mode:
Diffstat (limited to 'system.service')
-rw-r--r--system.service5
1 files changed, 3 insertions, 2 deletions
diff --git a/system.service b/system.service
index 7332d3563e7..b311b2344a1 100644
--- a/system.service
+++ b/system.service
@@ -6,9 +6,10 @@ After=network.target
User=thelounge
Group=thelounge
Type=simple
-Environment=THELOUNGE_HOME=/etc/thelounge
+Environment=THELOUNGE_HOME=/var/lib/thelounge
ExecStart=/usr/bin/thelounge start
-ProtectSystem=yes
+ProtectSystem=strict
+ReadWritePaths=/etc/thelounge /var/lib/thelounge
ProtectHome=yes
NoNewPrivileges=yes
PrivateTmp=yes