diff options
author | David Timber <dxdt@dev.snart.me> | 2024-05-13 01:33:52 +0900 |
---|---|---|
committer | David Timber <dxdt@dev.snart.me> | 2024-05-13 01:33:52 +0900 |
commit | eeb8fc928b3f911c457c89880f0c06f8ff12b2d1 (patch) | |
tree | 54671bc44e667cb95e54ec6e20593858c5ff3f5d /mmfwd.service | |
parent | 220c12c57992788a0d6222ae318d24f6efe571f9 (diff) |
Progress ...
- Add systemd service
- Update gitignore
- Update pyproject.toml
- Separate fwd for SMS and voice calls
- Impl handling of incoming calls
- Add 'MMFWD_CONFIG' env var for specifying config file path
Diffstat (limited to 'mmfwd.service')
-rw-r--r-- | mmfwd.service | 13 |
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 |