mcv
  • Member for 3 years, 5 months
  • Last seen more than a month ago
Running subprocess in a service not working?
Accepted answer
-1 votes

The problem is that when the services terminate, it terminates the child process also. This is the reason why the wifi again goes back to the disconnected state. When we use wpa_supplicant, there ...

View answer
Restart wifi using bash script and systemd service?
Accepted answer
-1 votes

Modified the .service file as follows [Unit] Description=captive portal automation [Service] Type=simple KillMode=process ExecStart=/home/pi/.caportal/do.sh That's it! Thanks for the comments

View answer