summaryrefslogtreecommitdiff
path: root/reboot-if-no-net-connection.timer
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-10-10 20:08:55 +0200
committerErich Eckner <git@eckner.net>2020-10-10 20:08:55 +0200
commitfb789e7d52cc67d3f5a3e713a355e121e772ebcb (patch)
tree362526a14dcf4361ec113ed84af5ae1e4f514841 /reboot-if-no-net-connection.timer
downloadreboot-if-no-net-connection-fb789e7d52cc67d3f5a3e713a355e121e772ebcb.tar.xz
initial commit
Diffstat (limited to 'reboot-if-no-net-connection.timer')
-rw-r--r--reboot-if-no-net-connection.timer10
1 files changed, 10 insertions, 0 deletions
diff --git a/reboot-if-no-net-connection.timer b/reboot-if-no-net-connection.timer
new file mode 100644
index 0000000..5c39d47
--- /dev/null
+++ b/reboot-if-no-net-connection.timer
@@ -0,0 +1,10 @@
+[Unit]
+Description=repeatedly check net connectivity
+
+[Timer]
+RandomizedDelaySec=1min
+OnUnitInactiveSec=10min
+OnBootSec=10min
+
+[Install]
+WantedBy=timers.target