WIP
This commit is contained in:
parent
b91fcb6500
commit
f1f2043fba
6 changed files with 132 additions and 9 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue