summaryrefslogtreecommitdiffstats
path: root/makefu/3modules
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2016-02-11 17:06:50 +0100
committermakefu <github@syntax-fehler.de>2016-02-11 17:06:50 +0100
commitab52655e941f49be7f2b479bac264c030dda061d (patch)
tree5370500d5778f861393c48e03bea0a716d9ac0ab /makefu/3modules
parent908837089ce22e83eae2df6518ad499090d0e1ae (diff)
ma: refactoring
Diffstat (limited to 'makefu/3modules')
-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";
};
};