summarylogtreecommitdiffstats
path: root/systemd.service
diff options
context:
space:
mode:
Diffstat (limited to 'systemd.service')
-rw-r--r--systemd.service10
1 files changed, 2 insertions, 8 deletions
diff --git a/systemd.service b/systemd.service
index 5e2e5beff84c..5ca81fed09bc 100644
--- a/systemd.service
+++ b/systemd.service
@@ -4,16 +4,10 @@ After=network.target
[Service]
User=photon-lemmy
-WorkingDirectory=/etc/share/webapps/photon-lemmy
+WorkingDirectory=/usr/share/photon-lemmy
ExecStart=/usr/bin/node build
-EnvironmentFile=/etc/webapps/photon-lemmy/config.env
+EnvironmentFile=/etc/photon-lemmy/config.env
Restart=on-failure
-# Hardening
-ProtectSystem=yes
-PrivateTmp=true
-MemoryDenyWriteExecute=true
-NoNewPrivileges=true
-
[Install]
WantedBy=multi-user.target