Commit 20bb3427 authored by Ryan Shipp's avatar Ryan Shipp
Browse files

Start and stop daemons with enable/disable

parent a4a833bd
......@@ -20,11 +20,13 @@ disable_notifier() {
enable_daemon() {
# internal function, $1 is daemon to enable
systemctl enable $1
systemctl start $1
}
disable_daemon() {
# internal function, $1 is daemon to disable
systemctl disable $1
systemctl stop $1
}
enable_repo() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment