Sunday, March 08, 2015

systemd service script for soundmodem



james@arm:/lib/systemd/system$ more soundmodem.service
[Unit]
Description=Soundcard Packet Radio Modem
After=sound.target network.target multi-user.target

[Service]
Type=forking
ExecStart=/usr/sbin/soundmodem --daemonize -s

[Install]
WantedBy=multi-user.target



james@arm:/lib/systemd/system$ more /etc/debian_version
7.8
james@arm:/lib/systemd/system$ uname -a
Linux arm 3.19.0-armv7-x3 #1 SMP Wed Feb 11 21:58:07 UTC 2015 armv7l GNU/Linux
james@arm:/lib/systemd/system$