aboutsummaryrefslogtreecommitdiff
path: root/modem-restart.service
diff options
context:
space:
mode:
authorXavier Del Campo <xavi.dcr@tutanota.com>2022-04-09 12:35:44 +0200
committerXavier Del Campo <xavi.dcr@tutanota.com>2022-04-09 12:52:11 +0200
commit1ed167f237fbc54c6383f75732dbde7db06df9a2 (patch)
tree81566b3b4d1c90c382c0df2c347f0dc4f8c320dd /modem-restart.service
downloadmodem-restart-1ed167f237fbc54c6383f75732dbde7db06df9a2.tar.gz
First commit
Diffstat (limited to 'modem-restart.service')
-rw-r--r--modem-restart.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/modem-restart.service b/modem-restart.service
new file mode 100644
index 0000000..eb44442
--- /dev/null
+++ b/modem-restart.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Restarts eg25-manager if USB connection to the Quectel EG25 modem is lost
+
+[Service]
+User=root
+WorkingDirectory=/
+ExecStart=modem-restart
+Restart=always
+
+[Install]
+WantedBy=multi-user.target