nixos/nextcloud: Do not run sudo if not needed
Only use sudo if we are currently not running as the nextcloud user. This is problematic when occ is called from a systemd service with NoNewPrivileges=true
parent
8582e5a7
Please register or sign in to comment