gitea-redmine/debian/gitea-redmine.service

24 lines
531 B
Desktop File

[Unit]
Description=Gitea Redmine (Webhook forwarder)
After=syslog.target network.target
[Service]
Environment=REDMINE_URL=https://dev.entrouvert.org/
Environment=INCOMING_WEBHOOK_SECRET=XXX
Environment=REDMINE_API_KEY=XXX
Environment=LANG=C.UTF-8
User=www-data
Group=www-data
ExecStart=/usr/bin/uwsgi --ini /etc/%p/uwsgi.ini
ExecReload=/bin/kill -HUP $MAINPID
KillSignal=SIGQUIT
TimeoutStartSec=0
PrivateTmp=true
Restart=on-failure
RuntimeDirectory=gitea-redmine
Type=notify
NotifyAccess=all
[Install]
WantedBy=multi-user.target