mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
Merge pull request #106715 from Mic92/tinc
This commit is contained in:
commit
5f0d38f05b
2 changed files with 2 additions and 1 deletions
|
@ -168,6 +168,7 @@ in
|
|||
Type = "simple";
|
||||
Restart = "always";
|
||||
RestartSec = "3";
|
||||
ExecReload = mkIf (versionAtLeast (getVersion data.package) "1.1pre") "${data.package}/bin/tinc -n ${network} reload";
|
||||
ExecStart = "${data.package}/bin/tincd -D -U tinc.${network} -n ${network} ${optionalString (data.chroot) "-R"} --pidfile /run/tinc.${network}.pid -d ${toString data.debugLevel}";
|
||||
};
|
||||
preStart = ''
|
||||
|
|
|
@ -47,6 +47,6 @@ stdenv.mkDerivation rec {
|
|||
homepage="http://www.tinc-vpn.org/";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ fpletz lassulus ];
|
||||
maintainers = with maintainers; [ fpletz lassulus mic92 ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue