Run cron as root

This commit is contained in:
flow.gunso
2019-04-24 14:40:25 +02:00
parent 953b784e92
commit ef1f52560c
3 changed files with 4 additions and 6 deletions

View File

@@ -51,7 +51,6 @@ RUN mkdir -p /etc/apt/sources.list.d/ ;\
echo "seafuser" > /etc/cron.allow ;\
echo "*/20 * * * * /bin/bash /home/seafuser/infinite-seaf-cli-start.sh" \
> /var/spool/cron/crontabs/seafuser ;\
touch /var/run/crond.pid ;\
groupadd -g $GID -o $UNAME ;\
useradd -m -u $UID -g $GID -o -s /bin/bash $UNAME