AGWA / sms-over-xmpp

XMPP Component (XEP-0114) to send and receive SMS
Other
77 stars 10 forks source link

Does anyone have a working systemd service file for this? #43

Closed k0d3g3ar closed 2 years ago

k0d3g3ar commented 2 years ago

Running this on Rocky Linux 8.5 but the service file isn't working. It works fine if I manually run it as a background task though.

This is what I have. I suspect it has something to do with the fact that sms-over-xmpp produces output to the console

[Unit] Description=sms-over-xmpp After=network.target

[Service] Type=oneshot RemainAfterExit=yes WorkingDirectory=/etc/prosody ExecStart=/etc/prosody/start-sms-over-xmpp.sh

[Install] WantedBy=multi-user.target

I'm not an expert in systemd. Any thoughts?