ail-framework/ansible/roles/ail-host/files/ail-queues.service

15 lines
315 B
Desktop File

[Unit]
Description=AIL-Framework: Queue service
Requires=ail-redis.service ail-logging.service
After=ail-redis.service ail-logging.service
[Service]
Restart=always
RestartSec=5
User=ail
Group=ail
ExecStartPre=/bin/sleep 10
ExecStart=/bin/bash -c "/opt/AIL-scripts/startQueues.sh"
[Install]
WantedBy=reboot.target