modules/hyprspace: Auto-restart
This commit is contained in:
parent
db9b4cfe68
commit
bf9af1c5d8
1 changed files with 2 additions and 0 deletions
|
@ -46,6 +46,8 @@ in {
|
|||
'';
|
||||
environment.HYPRSPACE_SWARM_KEY = config.age.secrets.ipfs-swarm-key.path;
|
||||
serviceConfig = {
|
||||
Restart = "on-failure";
|
||||
RestartSec = "5s";
|
||||
ExecStart = "${hyprspace}/bin/hyprspace up hyprspace -f -c ${runConfig}";
|
||||
ExecStop = "${hyprspace}/bin/hyprspace down hyprspace";
|
||||
IPAddressDeny = [
|
||||
|
|
Loading…
Reference in a new issue