|
|
@@ -71,8 +71,8 @@ fi
|
|
|
|
|
|
# Fix sftp jail cronjob
|
|
|
if [ -e "/etc/cron.d/hestia-sftp" ]; then
|
|
|
- if ! cat /etc/cron.d/hestia-sftp | grep -q 'admin'; then
|
|
|
- echo "@reboot admin /usr/local/hestia/bin/v-add-sys-sftp-jail" > /etc/cron.d/hestia-sftp
|
|
|
+ if ! cat /etc/cron.d/hestia-sftp | grep -q 'root'; then
|
|
|
+ echo "@reboot root /usr/local/hestia/bin/v-add-sys-sftp-jail" > /etc/cron.d/hestia-sftp
|
|
|
fi
|
|
|
fi
|
|
|
|