added Nextcloud High Preformance Backend Server

This commit is contained in:
2024-11-03 23:57:11 -08:00
parent e889cb4b3d
commit f935b16a29
2 changed files with 79 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
{config, pkgs, lib, ...}:
let
personalization = import ./personalization.nix;
in
{
systemd.services.nextcloud_notify_push_hpbs = {
unitConfig = {
Description = "Push server (High Preformance Back End) for Nextcloud Clients";
Requires = "network-online.target";
};
serviceConfig = {
Enviornment = "PORT=7867";
ExecStart = "/run/current-system/sw/bin/notify_push /var/lib/www/nextcloud/config/config.php";
RemainAfterExit = "yes";
Type = "notify";
User = "caddy";
Group = "php";
};
wantedBy = [ "multi-user.target" ];
};
}