mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-04-04 22:17:24 +00:00
edit CL
This commit is contained in:
parent
d248a7d45d
commit
eacb72adea
2 changed files with 4 additions and 3 deletions
|
|
@ -13,9 +13,9 @@ read -p"Do you want to install (i) or remove (r) the service? " action
|
|||
if [ "$action" == "i" ]; then
|
||||
|
||||
# 1 Check whether the right data are in the service-file
|
||||
|
||||
|
||||
read -p"Did you adapt the file boswatch.service (y/n)? " response
|
||||
|
||||
|
||||
if [ "$response" == "y" ]; then
|
||||
# 2 Copy the file
|
||||
cp boswatch.service /etc/systemd/system
|
||||
|
|
@ -36,7 +36,7 @@ if [ "$action" == "i" ]; then
|
|||
else # we want to remove the service
|
||||
# stop it...
|
||||
systemctl stop boswatch.service
|
||||
|
||||
|
||||
# disable it
|
||||
systemctl disable boswatch.service
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue