mirror of
https://github.com/getnamingo/registry.git
synced 2025-05-10 08:48:34 +02:00
22 lines
No EOL
504 B
Desktop File
22 lines
No EOL
504 B
Desktop File
[Unit]
|
|
Description=Message Producer Service
|
|
After=network.target redis.service
|
|
Requires=redis.service
|
|
|
|
[Service]
|
|
Type=forking
|
|
User=root
|
|
Group=root
|
|
Restart=on-failure
|
|
ExecStart=/usr/bin/php /opt/registry/automation/msg_producer.php
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
ExecStop=/bin/kill -INT $MAINPID
|
|
WorkingDirectory=/opt/registry/automation
|
|
StandardOutput=syslog
|
|
StandardError=syslog
|
|
SyslogIdentifier=msg_producer
|
|
PIDFile=/var/run/msg_producer.pid
|
|
LimitNOFILE=100000
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |