diff --git a/pages/linux/systemctl-enable.md b/pages/linux/systemctl-enable.md new file mode 100644 index 0000000000..8b10e3de2e --- /dev/null +++ b/pages/linux/systemctl-enable.md @@ -0,0 +1,12 @@ +# systemctl enable + +> Enable systemd services. +> More information: . + +- Enable a service to run on boot: + +`systemctl enable {{unit}}` + +- Enable a service to run on boot and start it now: + +`systemctl enable {{unit}} --now` diff --git a/pages/linux/systemd-disable.md b/pages/linux/systemd-disable.md new file mode 100644 index 0000000000..ce4eb39be3 --- /dev/null +++ b/pages/linux/systemd-disable.md @@ -0,0 +1,12 @@ +# systemctl disable + +> Disable systemd services. +> More information: . + +- Stop a service from running on boot: + +`systemctl disable {{unit}}` + +- Stop a service from running on boot and stop its current execution: + +`systemctl disable {{unit}} --now`