nixos/nextcloud: add occ in path of nextcloud-setup
This makes possible to use nextcloud-occ for setting extra configuration options. Example: systemd.services.nextcloud-setup = { script = mkAfter '' nextcloud-occ config:system:set redis 'host' --value '/var/run/redis/redis.sock' --type string nextcloud-occ config:system:set redis 'port' --value 0 --type integer ''; };
This commit is contained in:
parent
687debc45b
commit
4ea4408b9c
@ -390,6 +390,7 @@ in {
|
||||
in {
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
before = [ "phpfpm-nextcloud.service" ];
|
||||
path = [ occ ];
|
||||
script = ''
|
||||
chmod og+x ${cfg.home}
|
||||
ln -sf ${pkgs.nextcloud}/apps ${cfg.home}/
|
||||
|
Loading…
Reference in New Issue
Block a user