systemd: Update service files
[shutils.git] / systemd / ip6tables.service
1 [Unit]
2 Description=Store and restore ip6tables rules
3 Before=network.target
4
5 [Service]
6 Type=oneshot
7 RemainAfterExit=yes
8 EnvironmentFile=/etc/conf.d/ip6tables
9 ExecStart=/sbin/ip6tables-restore ${SAVE_RESTORE_OPTIONS} ${IP6TABLES_SAVE}
10 ExecStop=/sbin/ip6tables-save ${SAVE_RESTORE_OPTIONS} ${IP6TABLES_SAVE}
11
12 [Install]
13 WantedBy=multi-user.target
14