mirror of
https://github.com/albfan/miraclecast.git
synced 2025-03-09 23:38:56 +00:00
systemd service: stop/start wpa_supplicant before/after running wifid
This commit is contained in:
parent
6b22067cc4
commit
8b2b645d0c
1 changed files with 6 additions and 0 deletions
|
@ -5,11 +5,17 @@ After=dbus.socket
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
|
|
||||||
ExecStartPre=-/usr/bin/systemctl stop ap.service
|
ExecStartPre=-/usr/bin/systemctl stop ap.service
|
||||||
ExecStartPre=-/usr/bin/systemctl stop NetworkManager.service
|
ExecStartPre=-/usr/bin/systemctl stop NetworkManager.service
|
||||||
|
ExecStartPre=-/usr/bin/systemctl stop wpa_supplicant.service
|
||||||
|
|
||||||
ExecStart=/usr/bin/miracle-wifid --log-level debug
|
ExecStart=/usr/bin/miracle-wifid --log-level debug
|
||||||
|
|
||||||
|
ExecStopPost=-/usr/bin/systemctl start wpa_supplicant.service
|
||||||
ExecStopPost=-/usr/bin/systemctl start NetworkManager.service
|
ExecStopPost=-/usr/bin/systemctl start NetworkManager.service
|
||||||
ExecStopPost=-/usr/bin/systemctl start ap.service
|
ExecStopPost=-/usr/bin/systemctl start ap.service
|
||||||
|
|
||||||
User=root
|
User=root
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue