00307bc9be
- add scripts to configure and delete IP rules via a systemd unit - delete role `service-rclocal` - update README.md - add new handler
12 lines
251 B
Django/Jinja
12 lines
251 B
Django/Jinja
[Unit]
|
|
Description=Manage Freifunk MWU IP rules
|
|
After=network-online.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
ExecStart=/usr/local/bin/ffmwu-add-ip-rules.sh
|
|
ExecStop=/usr/local/bin/ffmwu-del-ip-rules.sh
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|