Fix: RemainAfterExit=no

This commit is contained in:
billz 2020-03-26 17:25:34 +00:00
parent 18b459032d
commit 82e489884b

View file

@ -16,10 +16,10 @@ After=network.target
[Service]
Type=oneshot
ExecStart=/bin/bash /etc/raspap/hostapd/servicestart.sh --interface uap0 --seconds 3
ExecReload=/bin/bash /etc/raspap/hostapd/servicestart.sh --interface uap0 --seconds 3
ExecStart=/bin/bash /etc/raspap/hostapd/servicestart.sh --interface wlan0 --seconds 3
ExecReload=/bin/bash /etc/raspap/hostapd/servicestart.sh --interface wlan0 --seconds 3
ExecStop=/bin/bash /etc/raspap/hostapd/servicestart.sh --action stop
RemainAfterExit=yes
RemainAfterExit=no
[Install]
WantedBy=multi-user.target