This commit is contained in:
Nettika 2025-10-15 14:26:28 -07:00
parent b91fcb6500
commit f1f2043fba
6 changed files with 132 additions and 9 deletions

View file

@ -22,15 +22,15 @@ let
httpd.serve_forever()
'';
in {
systemd.services.links-webhook = {
wantedBy = [ "multi-user.target" ];
after = [ "network.target" ];
serviceConfig = {
Type = "simple";
ExecStart = "${pkgs.python3}/bin/python3 ${webhookHandler}";
Restart = "always";
};
};
# systemd.services.links-webhook = {
# wantedBy = [ "multi-user.target" ];
# after = [ "network.target" ];
# serviceConfig = {
# Type = "simple";
# ExecStart = "${pkgs.python3}/bin/python3 ${webhookHandler}";
# Restart = "always";
# };
# };
services.caddy.virtualHosts.${domain}.extraConfig = ''
root * ${root}