Browse Source

Add systemd servie file wanpipe@.service

Using this systemd service/unit, one can have systemd call wanconfig
at startup.
master
Harald Welte 8 months ago
parent
commit
c0dbaa3325
  1. 10
      wanpipe@.service

10
wanpipe@.service

@ -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…
Cancel
Save