Initial documentation structure
This commit is contained in:
18
infrastructure/systemd/gitea-webhook.service
Normal file
18
infrastructure/systemd/gitea-webhook.service
Normal file
@@ -0,0 +1,18 @@
|
||||
[Unit]
|
||||
Description=Gitea Webhook Listener for AI Feedback
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=netops
|
||||
WorkingDirectory=/home/netops/orchestrator
|
||||
#ExecStart=/usr/bin/python3 /home/netops/orchestrator/webhook_listener.py
|
||||
ExecStart=/home/netops/orchestrator/venv/bin/python /home/netops/orchestrator/webhook_listener.py
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
EnvironmentFile=-/home/netops/.env
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user