[Unit]
Description=Shorts Maker Webhook Server
After=network.target docker.service
Wants=docker.service

[Service]
Type=simple
User=bini
Group=bini
WorkingDirectory=/home/bini/shorts-maker
Environment=WEBHOOK_SECRET=your-secret-here
ExecStart=/usr/bin/python3 /home/bini/shorts-maker/webhook-server.py
Restart=always
RestartSec=10

# Logging
StandardOutput=append:/var/log/webhook-server.log
StandardError=append:/var/log/webhook-server.log

[Install]
WantedBy=multi-user.target
