mediaserver: wireguard+prowlarr
This commit is contained in:
parent
99331411a6
commit
1e08a87a2f
1 changed files with 2 additions and 1 deletions
|
@ -24,8 +24,9 @@
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "simple";
|
Type = "simple";
|
||||||
DynamicUser = true;
|
DynamicUser = true;
|
||||||
|
PrivateTmp = false;
|
||||||
NetworkNamespacePath = "/var/run/netns/wg";
|
NetworkNamespacePath = "/var/run/netns/wg";
|
||||||
ExecStart = "${pkgs.socat}/bin/socat UNIX-LISTEN:/tmp/prowlarr.sock,unlink-early,fork TCP4:127.0.0.1:80";
|
ExecStart = "${pkgs.socat}/bin/socat UNIX-LISTEN:/tmp/prowlarr.sock,unlink-early,fork TCP4:127.0.0.1:9696";
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue