activate cron job by default
This commit is contained in:
parent
39d45665b6
commit
04cd06aad2
1 changed files with 2 additions and 0 deletions
|
@ -50,6 +50,8 @@ mkdir -p $PKG/install
|
||||||
cat <<EOF > $PKG/install/doinst.sh
|
cat <<EOF > $PKG/install/doinst.sh
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
chown -R $PHPUSER:$PHPGROUP $DOCROOT/$PRGNAM/apps
|
chown -R $PHPUSER:$PHPGROUP $DOCROOT/$PRGNAM/apps
|
||||||
|
|
||||||
|
grep -q "/var/www/htdocs/owncloud/cron.php" /var/spool/cron/crontabs/apache || echo "*/15 * * * * php -f /var/www/htdocs/owncloud/cron.php" >> /var/spool/cron/crontabs/apache
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
cat <<EOF > $PKG/install/slack-desc
|
cat <<EOF > $PKG/install/slack-desc
|
||||||
|
|
Loading…
Reference in a new issue