voyager: fix nextcloud startup problems
This commit is contained in:
parent
d645a8af8a
commit
6ed59e1b15
|
@ -59,7 +59,9 @@ in {
|
|||
after = [ "postgresql.service" ];
|
||||
};
|
||||
|
||||
systemd.services."phpfpm-nextcloud".serviceConfig = {
|
||||
systemd.services."phpfpm-nextcloud" = {
|
||||
requires = [ "var-lib-nextcloud.mount" ];
|
||||
serviceConfig = {
|
||||
WorkingDirectory = "/var/lib/nextcloud";
|
||||
NoNewPrivileges = true;
|
||||
PrivateDevices = true;
|
||||
|
@ -80,6 +82,7 @@ in {
|
|||
SystemCallFilter = "@system-service";
|
||||
CapabilityBoundingSet = "~CAP_FSETID ~CAP_SETFCAP ~CAP_SETUID ~CAP_SETGID ~CAP_SETPCAP ~CAP_NET_ADMIN ~CAP_SYS_ADMIN ~CAP_SYS_PTRACE ";
|
||||
};
|
||||
};
|
||||
|
||||
fileSystems."/var/lib/nextcloud" = {
|
||||
device = "/tank/nextcloud";
|
||||
|
|
Loading…
Reference in New Issue