I should note that I'm using the devel branch and the last commit that I 
have is 6264eb4e02eff67a1701.

On Thursday, March 19, 2015 at 4:17:22 PM UTC-4, Skyler Slade wrote:
>
> I have a custom upstart script that starts, stops, and restarts 
> successfully via initctl but when Ansible attempts the same, it errors with 
> the message "unrecognized service".
>
> I've seen https://github.com/ansible/ansible/issues/2183 which indicates 
> that the issue is fixed, but it's still happening to me.
>
> Here's my upstart script in its entirety, /etc/init/nginx-log-monitor.conf
> :
>
> description "Nginx error log monitor"
>
> start on runlevel [345]
> stop on runlevel [6]
>
> exec /usr/local/bin/logmonitor.sh /var/log/nginx/error.log '\[crit\|error' 
> '[email protected]'
>
> And the error from Ansible:
>
> NOTIFIED: [nginx_base | restart nginx log monitor] 
> ****************************
> failed: [web.domain.com] => {"failed": true}
> msg: nginx-log-monitor: unrecognized service
> nginx-log-monitor: unrecognized service
>
> Is there something wrong with my upstart script?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/a304154b-d1fd-47f6-bea5-125b38e90997%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to