ansible-ffibk/roles/network-routing/templates/ffmwu-static-routes.service.j2
Tobias Hachmer 4ce00a6ac3 Add role network-routing
- move static routes from role service-rclocal to scripts run by systemd
unit
- mv routing specific sysctl settings
2017-10-11 06:52:24 +02:00

12 lines
266 B
Django/Jinja

[Unit]
Description=Manage Freifunk MWU static routes
After=network-online.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/local/bin/ffmwu-add-static-routes.sh
ExecStop=/usr/local/bin/ffmwu-del-static-routes.sh
[Install]
WantedBy=multi-user.target