Add systemd servie file wanpipe@.service

Using this systemd service/unit, one can have systemd call wanconfig
at startup.
This commit is contained in:
Harald Welte 2021-12-30 13:25:12 +01:00
parent a4ba1ce3ff
commit c0dbaa3325
1 changed files with 10 additions and 0 deletions

10
wanpipe@.service Normal file
View File

@ -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