Restart nginx after Gitea
This commit is contained in:
parent
85d4f2cbd8
commit
e8850eff51
|
@ -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
|
||||
|
|
|
@ -21,4 +21,7 @@
|
|||
appName = "Gitea";
|
||||
};
|
||||
|
||||
# Restart nginx after startup
|
||||
systemd.services.gitea.postStart = "systemctl restart nginx";
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue