From fa0d01883c011a57a9f7c732489da956a6fa7b91 Mon Sep 17 00:00:00 2001 From: ulecrivain <43913579+ulecrivain@users.noreply.github.com> Date: Mon, 6 Apr 2020 23:36:33 +0200 Subject: [PATCH] Update systemd.service disabling ProtectHome since install script puts pleroma datadir in /home --- conf/systemd.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/systemd.service b/conf/systemd.service index 4f0cc2c..a76f0d4 100755 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -23,7 +23,7 @@ ExecStop=__FINALPATH__/__APP__/bin/pleroma stop ; Use private /tmp and /var/tmp folders inside a new file system namespace, which are discarded after the process stops. PrivateTmp=true ; The /home, /root, and /run/user folders can not be accessed by this service anymore. If your Pleroma user has its home folder in one of the restricted places, or use one of these folders as its working directory, you have to set this to false. -ProtectHome=true +ProtectHome=false ; Mount /usr, /boot, and /etc as read-only for processes invoked by this service. ProtectSystem=full ; Sets up a new /dev mount for the process and only adds API pseudo devices like /dev/null, /dev/zero or /dev/random but not physical devices. Disabled by default because it may not work on devices like the Raspberry Pi.