initial commit

This commit is contained in:
2025-09-06 14:31:22 +02:00
parent aee2d81e26
commit 1bc3056c77
12 changed files with 2318 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
[Unit]
Description=Bike Service Queue Worker
After=network.target
Wants=network.target
[Service]
Type=simple
User=www-data
Group=www-data
WorkingDirectory=/var/www/bikeservice/backend
ExecStart=/usr/bin/php artisan queue:work --sleep=3 --tries=3 --max-time=3600 --memory=512
ExecReload=/bin/kill -USR1 $MAINPID
Restart=always
RestartSec=10
StandardOutput=journal
StandardError=journal
SyslogIdentifier=bikeservice-queue
# Environment variables
Environment=APP_ENV=production
Environment=APP_DEBUG=false
# Resource limits
LimitNOFILE=65536
LimitNPROC=32768
# Security settings
NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=strict
ReadWritePaths=/var/www/bikeservice/backend/storage
ProtectHome=true
[Install]
WantedBy=multi-user.target