autogits/systemd/gitea-events-rabbitmq-publisher.service

16 lines
327 B
SYSTEMD
Raw Normal View History

2024-09-11 13:15:09 +02:00
[Unit]
Description=Gitea webhook to RabbitMQ message publisher
[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]
After=network-online.target
WantedBy=multi-user.target