summarylogtreecommitdiffstats
path: root/chilli.service
blob: 0893c4c9dfa1b96dabc30f2ee1046b703f20ae31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=CoovaChilli captive portal
After=network.target

[Service]
Type=forking
User=root
ExecStartPre=/usr/bin/modprobe tun
ExecStartPre=/usr/bin/echo 1 > /proc/sys/net/ipv4/ip_forward
ExecStart=/usr/bin/chilli

[Install]
WantedBy=multi-user.target