Run cron as root
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user