summaryrefslogtreecommitdiffstats
path: root/makefu/3modules/umts.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-02-11 23:59:07 +0100
committertv <tv@krebsco.de>2016-02-11 23:59:07 +0100
commit2b6a54c31c47667495187f9ff8f9a6009a2652ab (patch)
treeab00bc10716b73443dbe58d1279ce367e6cc71fc /makefu/3modules/umts.nix
parent8c87356aee561fd8bc50dc2b7029ab30118f0d2c (diff)
parente8a0058f8cd654247eb0b08326dd34c3ac9cff6a (diff)
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'makefu/3modules/umts.nix')
-rw-r--r--makefu/3modules/umts.nix9
1 files changed, 1 insertions, 8 deletions
diff --git a/makefu/3modules/umts.nix b/makefu/3modules/umts.nix
index d7be45f62..1bf3ba0b5 100644
--- a/makefu/3modules/umts.nix
+++ b/makefu/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";
};
};