new way for cron
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Paolo Asperti 2019-11-26 12:57:46 +01:00
parent c9aa84320a
commit c70c7597be
Signed by: paspo
GPG Key ID: 06D46905D19D5182
2 changed files with 2 additions and 1 deletions

View File

@ -340,6 +340,6 @@ EOF
echo "read-only" >> /etc/mysql/mariadb.conf.d/custom.cnf echo "read-only" >> /etc/mysql/mariadb.conf.d/custom.cnf
fi fi
sudo service cron start sudo cron -f &
_main "$@" _main "$@"
fi fi

View File

@ -1,2 +1,3 @@
mysql ALL = (ALL) NOPASSWD: /usr/sbin/service cron start mysql ALL = (ALL) NOPASSWD: /usr/sbin/service cron start
mysql ALL = (ALL) NOPASSWD: /usr/sbin/cron