initial commit of file from CVS for e-smith-base on Thu 26 Oct 11:24:52 BST 2023
This commit is contained in:
16
root/usr/lib/systemd/system/wan.service
Normal file
16
root/usr/lib/systemd/system/wan.service
Normal file
@@ -0,0 +1,16 @@
|
||||
[Unit]
|
||||
Description=WAN interface for Koozali SME Server
|
||||
After=network-pre.target networking.service
|
||||
Before=network-online.target
|
||||
PartOf=networking.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStartPre=/sbin/e-smith/service-status wan
|
||||
ExecStart=/usr/bin/sv u /service/wan
|
||||
ExecStop=/usr/bin/sv stop /service/wan
|
||||
ExecReload=/usr/bin/sv t /service/wan
|
||||
RemainAfterExit=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=sme-server.target
|
Reference in New Issue
Block a user