mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-11-15 18:02:49 +00:00
22 lines
345 B
Desktop File
22 lines
345 B
Desktop File
# 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
|