mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[enh] beautify script
This commit is contained in:
parent
c4d5f664d1
commit
4f8fcd3251
1 changed files with 3 additions and 3 deletions
|
@ -18,7 +18,7 @@ if [[ "$1" == "True" ]]; then
|
|||
systemctl is-enabled spamassassin > /dev/null 2>&1 \
|
||||
&& { sudo systemctl disable spamassassin || true ; }
|
||||
systemctl is-active spamassassin > /dev/null \
|
||||
&& { sudo systemctl stop spamassassin || true ; }
|
||||
&& { sudo systemctl stop spamassassin || true ; }
|
||||
sudo rm -f /etc/cron.daily/spamassassin
|
||||
sudo yunohost service status spamassassin > /dev/null 2>&1 \
|
||||
&& { sudo yunohost service remove spamassassin || true ; }
|
||||
|
@ -27,7 +27,7 @@ if [[ "$1" == "True" ]]; then
|
|||
sudo ls /etc/rc2.d/S??amavis > /dev/null 2>&1 \
|
||||
|| sudo systemctl disable amavis || true
|
||||
sudo systemctl is-active amavis > /dev/null \
|
||||
&& { sudo systemctl stop amavis || true ; }
|
||||
&& { sudo systemctl stop amavis || true ; }
|
||||
sudo yunohost service status amavis > /dev/null 2>&1 \
|
||||
&& { sudo yunohost service remove amavis || true ; } \
|
||||
|| true
|
||||
|
@ -36,7 +36,7 @@ if [[ "$1" == "True" ]]; then
|
|||
sudo ls /etc/rc2.d/S??postgrey > /dev/null 2>&1 \
|
||||
|| sudo systemctl disable postgrey || true
|
||||
sudo systemctl is-active postgrey > /dev/null \
|
||||
&& { sudo systemctl stop postgrey || true ; }
|
||||
&& { sudo systemctl stop postgrey || true ; }
|
||||
sudo yunohost service status postgrey > /dev/null 2>&1 \
|
||||
&& { sudo yunohost service remove postgrey || true ; } \
|
||||
|| true
|
||||
|
|
Loading…
Add table
Reference in a new issue