My Ubuntu 18.04 does not support upstart, uses systemd.
How can I create a service using systemd, based on this file.conf file?
#!upstart start on startup stop on shutdown respawn respawn limit 20 5 script while true; do sudo -u deploy bash -c "/usr/bin/php /symfony/bin/console rabbitmq:consumer -w compare -m 1 --env=prod" if [ $? -ne 0 ]; then stop; exit 1; fi done end script
sudo -u deploy bash -cvery bad. - Hellseher