Compare commits

..

No commits in common. "96851e9a34e3193f4dd0d5ca3980c2bb82a6238c" and "d3ba31c45ef023279bce772341ff6c5f83fb0f6b" have entirely different histories.

2 changed files with 0 additions and 22 deletions

View File

@ -9,8 +9,6 @@ RUN docker-php-ext-install pdo_mysql opcache gd zip ldap
COPY ./crontab /etc/cron.d/crontab
COPY ./petroq.service /etc/systemd/system
RUN systemctl enable --now pteroq.service
RUN chmod 0644 /etc/cron.d/crontab
RUN /usr/bin/crontab /etc/cron.d/crontab

View File

@ -1,20 +0,0 @@
# Pterodactyl Queue Worker File
# ----------------------------------
[Unit]
Description=Pterodactyl Queue Worker
After=redis-server.service
[Service]
# On some systems the user and group might be different.
# Some systems use `apache` or `nginx` as the user and group.
User=www-data
Group=www-data
Restart=always
ExecStart=/usr/bin/php /var/www/pterodactyl/artisan queue:work --queue=high,standard,low --sleep=3 --tries=3
StartLimitInterval=180
StartLimitBurst=30
RestartSec=5s
[Install]
WantedBy=multi-user.target