Add systemd servie file wanpipe@.service
Using this systemd service/unit, one can have systemd call wanconfig at startup.
This commit is contained in:
parent
a4ba1ce3ff
commit
c0dbaa3325
|
@ -0,0 +1,10 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Sangoma Wanpipe Span %i
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
RemainAfterExit=yes
|
||||||
|
ExecStart=/usr/sbin/wanconfig -f /etc/wanpipe/wanpipe%i.conf
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Loading…
Reference in New Issue