til icon indicating copy to clipboard operation
til copied to clipboard

systemd with --now

Open xluffy opened this issue 3 years ago • 0 comments

systemctl version 220, enable and disable support a --now switch to start / stop services concurrent with the enabling / disabling.

> systemctl enable --now xxx.service

~

> systemctl enable xxx.service && systemctl start xxx.service
> systemctl disable --now xxx.service

~

> systemctl stop xxx.service && systemctl disable xxx.service

xluffy avatar Nov 02 '21 06:11 xluffy