mynode/rootfs/standard/etc/systemd/system/firewall.service

22 lines
345 B
SYSTEMD
Raw Normal View History

2019-06-15 23:02:44 +00:00
# myNode firewall service
# /etc/systemd/system/firewall.service
[Unit]
Description=myNode Firewall
After=network.target
[Service]
Type=oneshot
ExecStart=/usr/bin/mynode_firewall.sh
User=root
Group=root
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=mynode
RestartSec=30
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target