nextcloud: fix permission on nextcloud server
nextcloud-occ is a wrapper around systemd-run so we must be root to run it.
This commit is contained in:
parent
45c366c14c
commit
9f5f6c1153
1 changed files with 0 additions and 1 deletions
|
|
@ -952,7 +952,6 @@ in
|
||||||
systemd.services.nextcloud-cron-previewgenerator = {
|
systemd.services.nextcloud-cron-previewgenerator = {
|
||||||
environment.NEXTCLOUD_CONFIG_DIR = "${config.services.nextcloud.datadir}/config";
|
environment.NEXTCLOUD_CONFIG_DIR = "${config.services.nextcloud.datadir}/config";
|
||||||
serviceConfig.Type = "oneshot";
|
serviceConfig.Type = "oneshot";
|
||||||
serviceConfig.User = "nextcloud";
|
|
||||||
serviceConfig.ExecStart =
|
serviceConfig.ExecStart =
|
||||||
let
|
let
|
||||||
debug = if cfg.debug or cfg.apps.previewgenerator.debug then "-vvv" else "";
|
debug = if cfg.debug or cfg.apps.previewgenerator.debug then "-vvv" else "";
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue