mirror of https://gitlab.com/tildes/tildes.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
452 B
14 lines
452 B
[Unit]
|
|
Description=pg-amqp-bridge - send pgsql NOTIFY to rabbitmq
|
|
Requires=rabbitmq-server.service
|
|
After=rabbitmq-server.service
|
|
PartOf=rabbitmq-server.service
|
|
|
|
[Service]
|
|
Environment="POSTGRESQL_URI=postgres://tildes@%2Frun%2Fpostgresql/tildes" "AMQP_URI=amqp://localhost//" "BRIDGE_CHANNELS=pgsql_events:pgsql_events" "DELIVERY_MODE=PERSISTENT"
|
|
ExecStart=/usr/local/bin/pg-amqp-bridge
|
|
Restart=always
|
|
RestartSec=5
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|