Do not automatically enable the service
This commit is contained in:
parent
4195cd16cb
commit
32e9da8a00
3 changed files with 7 additions and 19 deletions
|
@ -1,20 +1,8 @@
|
|||
_update() {
|
||||
systemctl daemon-reload
|
||||
}
|
||||
|
||||
post_install() {
|
||||
_update
|
||||
systemctl enable rc-local.service
|
||||
}
|
||||
cat <<EOF
|
||||
|
||||
post_upgrade() {
|
||||
_update
|
||||
}
|
||||
==> Please activate the rc-local service to execute /etc/rc.local on boot.
|
||||
==> Run as root: systemctl enable rc-local.service
|
||||
|
||||
pre_remove() {
|
||||
systemctl disable rc-local.service
|
||||
EOF
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
_update
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue