File tree Expand file tree Collapse file tree 2 files changed +14
-8
lines changed
nixos/modules/services/networking Expand file tree Collapse file tree 2 files changed +14
-8
lines changed Original file line number Diff line number Diff line change 363363 chmod 640 ${ runConfig }
364364 '' ;
365365 serviceConfig = rec {
366- Type = "simple " ;
366+ Type = "notify " ;
367367 ExecStart = utils . escapeSystemdExecArgs [
368368 ( lib . getExe' pkgs . coturn "turnserver" )
369369 "-c"
413413 [
414414 "AF_INET"
415415 "AF_INET6"
416+ "AF_UNIX"
416417 ]
417418 ++ lib . optionals ( cfg . listening-ips == [ ] ) [
418419 # only used for interface discovery when no listening ips are configured
Original file line number Diff line number Diff line change 99 libmicrohttpd ,
1010 sqlite ,
1111 nixosTests ,
12+ systemdMinimal ,
1213} :
1314
1415stdenv . mkDerivation rec {
@@ -26,13 +27,17 @@ stdenv.mkDerivation rec {
2627 pkg-config
2728 ] ;
2829
29- buildInputs = [
30- openssl
31- ( libevent . override { inherit openssl ; } )
32- libprom
33- libmicrohttpd
34- sqlite . dev
35- ] ;
30+ buildInputs =
31+ [
32+ openssl
33+ ( libevent . override { inherit openssl ; } )
34+ libprom
35+ libmicrohttpd
36+ sqlite . dev
37+ ]
38+ ++ lib . optionals ( lib . meta . availableOn stdenv . hostPlatform systemdMinimal ) [
39+ systemdMinimal
40+ ] ;
3641
3742 patches = [
3843 ./pure-configure.patch
You can’t perform that action at this time.
0 commit comments