42 |
stop) ${chrooted} systemctl stop "${service}" ;; |
stop) ${chrooted} systemctl stop "${service}" ;; |
43 |
restart) ${chrooted} systemctl try-restart "${service}" ;; |
restart) ${chrooted} systemctl try-restart "${service}" ;; |
44 |
reload) ${chrooted} systemctl reload-or-try-restart "${service}" ;; |
reload) ${chrooted} systemctl reload-or-try-restart "${service}" ;; |
45 |
add) ${chrooted} systemctl enable "${service}" ;; |
enable) ${chrooted} systemctl enable "${service}" ;; |
46 |
del) ${chrooted} systemctl disable "${service}" ;; |
disable) ${chrooted} systemctl disable "${service}" ;; |
47 |
*) help_system_service && return ;; |
*) help_system_service && return ;; |
48 |
esac |
esac |
49 |
} |
} |