[Nix-dev] openvpn autostart

Mathijs Kwik mathijs at bluescreen303.nl
Sun Jan 15 12:49:52 CET 2012


To answer myself once again, lower priorities are kept.
So I should have chosen a prio < 100 (the default).

It works now, sorry to bother you all :)

On Sun, Jan 15, 2012 at 12:42 PM, Mathijs Kwik <mathijs at bluescreen303.nl> wrote:
> Hi all,
>
> I setup openvpn through configuration.nix, which works great.
> However, I don't want my vpn to start automatically by default.
> Since an upstart-job was created automatically, I figured I need to
> override the job's startOn value.
> So I tried:
> jobs."openvpn-home".startOn = pkgs.lib.mkOverride 200 "";
>
> I had to use string quoted because the job name contains a - sign, but
> I think that's not the problem here.
>
> Any suggestions?
> Thanks,
> Mathijs


More information about the nix-dev mailing list