Files
lisglosips/infra/server-a/s06/systemd/lisglosips-exporter-firewall.service
T

14 lines
360 B
Desktop File

[Unit]
Description=LisgloSIPS exporter firewall
Before=lisglosips-node-exporter.service
[Service]
Type=oneshot
RemainAfterExit=true
ExecStartPre=-/usr/sbin/nft delete table inet lisglosips_s06
ExecStart=/usr/sbin/nft -f /etc/nftables.d/lisglosips-s06-exporter.nft
ExecStop=-/usr/sbin/nft delete table inet lisglosips_s06
[Install]
WantedBy=multi-user.target