aboutsummaryrefslogtreecommitdiff
path: root/mmfwd.service
diff options
context:
space:
mode:
Diffstat (limited to 'mmfwd.service')
-rw-r--r--mmfwd.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/mmfwd.service b/mmfwd.service
new file mode 100644
index 0000000..73a70f2
--- /dev/null
+++ b/mmfwd.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Forward calls and texts using ModemManager
+Requires=ModemManager.service
+After=postfix.service ModemManager.service network-online.target
+
+[Service]
+User=mmfwd
+Group=mmfwd
+Environment=MMFWD_CONFIG=/etc/mmfwd/mmfwd.yaml
+ExecStart=/usr/bin/env python3 -m mmfwd
+
+[Install]
+WantedBy=multi-user.target