blob: 0ff70023731c49ca1a46b0b467b82aa5b28350a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
{ pkgs, ... }:
{
systemd = {
services.noip = {
enable = true;
wantedBy = [ "multi-user.target" ];
aliases = [ "noip2.service" ];
after = [ "network.target" "syslog.target" ];
serviceConfig = {
User = "root";
ExecStart = "${pkgs.noip}/bin/noip2 -c /etc/noip2.conf";
Restart = "always";
Type = "forking";
};
};
};
}
|