diff options
author | makefu <github@syntax-fehler.de> | 2016-02-11 17:06:50 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2016-02-11 17:06:50 +0100 |
commit | 552683a2b5e7bdd7b0921b29df077cdb3c5ec6ec (patch) | |
tree | d136cd819dbfc09b74e44ecc5ecff4128b265ba9 /3modules/umts.nix | |
parent | 56b3600b39a7e10d26158ec3a8be7b52f5acc4ed (diff) |
ma: refactoring
Diffstat (limited to '3modules/umts.nix')
-rw-r--r-- | 3modules/umts.nix | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/3modules/umts.nix b/3modules/umts.nix index d7be45f62..1bf3ba0b5 100644 --- a/3modules/umts.nix +++ b/3modules/umts.nix @@ -56,19 +56,12 @@ let environment.wvdial.dialerDefaults = wvdial-defaults; - systemd.targets.network-umts = { - description = "System is running on UMTS"; - unitConfig.StopWhenUnneeded = true; - }; - systemd.services.umts = { description = "UMTS wvdial Service"; - before = [ "network-umts.target" ]; - serviceConfig = { Type = "simple"; Restart = "always"; - RestartSec = "4s"; + RestartSec = "10s"; ExecStart = "${pkgs.wvdial}/bin/wvdial -n"; }; }; |