From 66b26714085b489a3f259b03576e56b13a30cbeb Mon Sep 17 00:00:00 2001 From: Luis Felipe Marzagao Date: Sat, 20 Jan 2018 14:33:32 -0200 Subject: [PATCH] Use service restart to improve compat. with next os version. --- shared/dovecot/dovecot.sh | 2 +- shared/vsftpd.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/shared/dovecot/dovecot.sh b/shared/dovecot/dovecot.sh index 3094274..16c02dd 100644 --- a/shared/dovecot/dovecot.sh +++ b/shared/dovecot/dovecot.sh @@ -11,7 +11,7 @@ else sudo touch /etc/dovecot/local.conf echo -e 'mail_location = mbox:~/mail' | sudo tee -a /etc/dovecot/local.conf echo -e 'disable_plaintext_auth = no' | sudo tee -a /etc/dovecot/local.conf - sudo restart dovecot + service dovecot restart fi #TODO diff --git a/shared/vsftpd.sh b/shared/vsftpd.sh index bef621b..fd66d72 100644 --- a/shared/vsftpd.sh +++ b/shared/vsftpd.sh @@ -6,5 +6,5 @@ if which vsftpd > /dev/null; then else sudo apt-get install -y vsftpd echo -e 'write_enable=YES' | sudo tee -a /etc/vsftpd.conf - sudo restart vsftpd + service vsftpd restart fi \ No newline at end of file