This commit is contained in:
Adithya 2023-06-02 11:29:07 +05:30
parent da35c6f8d9
commit 709f9e03c2
Signed by: adtya
GPG key ID: 48FC9915FFD326D0

View file

@ -8,10 +8,10 @@ in {
requires = ["network.target"]; requires = ["network.target"];
wantedBy = ["multi-user.target"]; wantedBy = ["multi-user.target"];
serviceConfig = { serviceConfig = {
Type="simple"; Type = "simple";
ExecStart="${pkgs.frp}/bin/frpc -c /etc/frp/frpc.ini"; ExecStart = "${pkgs.frp}/bin/frpc -c /etc/frp/frpc.ini";
Restart="always"; Restart = "always";
RestartSec="5s"; RestartSec = "5s";
}; };
}; };
environment.etc."frp/frpc.ini".text = '' environment.etc."frp/frpc.ini".text = ''