tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
tinc: add Restart in systemd service config
Tristan Helmich
9 years ago
c9b96923
e412f219
+1
1 changed file
expand all
collapse all
unified
split
nixos
modules
services
networking
tinc.nix
+1
nixos/modules/services/networking/tinc.nix
···
157
157
serviceConfig = {
158
158
Type = "simple";
159
159
PIDFile = "/run/tinc.${network}.pid";
160
160
+
Restart = "on-failure";
160
161
};
161
162
preStart = ''
162
163
mkdir -p /etc/tinc/${network}/hosts