Matt <matthieu.nant...@gmail.com> writes:

> I would like to use the type "service" to ensure that a service is currently
> started. Is there a way to specify a user that must run start or stop
> command?

No.  Traditionally, the start and stop commands would ensure that the software
ran as the correct user internally — most of them map directly to the OS
facilities that start and stop services at boot time, which require that.

I would strongly advise you follow that same path, because otherwise you
risk a tiny typo or user-error resulting in your daemon running as root.

        Daniel
-- 
✣ Daniel Pittman            ✉ dan...@rimspace.net            ☎ +61 401 155 707
               ♽ made with 100 percent post-consumer electrons

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to