Closed k0d3g3ar closed 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?
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?