Switch service to oneshot and start commands with multiple ExecStart
This commit is contained in:
parent
ba98f67229
commit
b1c2792aae
@ -2,8 +2,8 @@
|
||||
Description=Disable automated desktop login
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=rm -f /etc/lightdm/lightdm.conf.d/22-armbian-autologin.conf
|
||||
ExecStartPost=rm -f /etc/sddm.conf.d/autologin.conf
|
||||
TimeoutStopSec= 10
|
||||
Type=oneshot
|
||||
ExecStart=-rm -f /etc/lightdm/lightdm.conf.d/22-armbian-autologin.conf
|
||||
ExecStart=-rm -f /etc/sddm.conf.d/autologin.conf
|
||||
TimeoutStopSec=10
|
||||
ExecStop=systemctl disable armbian-disable-autologin.timer
|
||||
|
||||
Loading…
Reference in New Issue
Block a user