Commit f0e5db70 authored by Marie Ramlow's avatar Marie Ramlow
Browse files

nixos/g3proxy: run proxy with --systemd --control-dir %t/g3proxy

parent 2eb6e997
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -54,7 +54,7 @@ in
          let
            g3proxy-yaml = settingsFormat.generate "g3proxy.yaml" cfg.settings;
          in
          "${lib.getExe cfg.package} --config-file ${g3proxy-yaml}";
          "${lib.getExe cfg.package} --config-file ${g3proxy-yaml} --systemd --control-dir %t/g3proxy";

        WorkingDirectory = "/var/lib/g3proxy";
        StateDirectory = "g3proxy";