2024-09-11 13:15:09 +02:00
|
|
|
[Unit]
|
|
|
|
Description=Gitea webhook to RabbitMQ message publisher
|
2024-09-11 16:32:26 +02:00
|
|
|
After=network-online.target
|
2024-09-11 13:15:09 +02:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=exec
|
|
|
|
ExecStart=/usr/bin/gitea-events-rabbitmq-publisher
|
|
|
|
EnvironmentFile=-/etc/sysconfig/gitea-events-rabbitmq-publisher.env
|
|
|
|
DynamicUser=yes
|
|
|
|
NoNewPrivileges=yes
|
|
|
|
ProtectSystem=strict
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|
|
|
|
|