16 lines
357 B
SYSTEMD
16 lines
357 B
SYSTEMD
|
[Unit]
|
||
|
Description=Linphone Daemon
|
||
|
Requires=var-tmp-debian\x2dsid-dev.mount
|
||
|
After=var-tmp-debian\x2dsid-dev.mount
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
RootDirectory=/var/tmp/debian-sid
|
||
|
ExecStartPre=/bin/rm -f /tmp/linphone
|
||
|
ExecStart=/usr/bin/linphone-daemon --pipe linphone --config /home/pi/linphone.conf
|
||
|
User=pi
|
||
|
Restart=on-failure
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|