Restart nginx after Gitea

This commit is contained in:
coolneng 2019-12-25 16:24:10 +01:00
parent 85d4f2cbd8
commit e8850eff51
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
2 changed files with 5 additions and 1 deletions

View File

@ -69,7 +69,7 @@
# Auto-upgrade the system and reboot if needed
system.autoUpgrade = {
enable = true;
allowReboot = false;
allowReboot = true;
};
# Enable zeroconf
@ -86,6 +86,7 @@
nix.gc = {
automatic = true;
dates = "03:15";
options = "--delete-older-than 14d";
};
# Configure fish shell

View File

@ -21,4 +21,7 @@
appName = "Gitea";
};
# Restart nginx after startup
systemd.services.gitea.postStart = "systemctl restart nginx";
}