Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # The service definition
- service { $atom_service:
- ensure => running,
- enable => true,
- start => "su - ${linux_user} -c \"${atom_path}/bin/atom start\"",
- stop => "su - ${linux_user} -c \"${atom_path}/bin/atom stop\"",
- status => "su - ${linux_user} -c \"${atom_path}/bin/atom status\"",
- }
- # The debug output
- Debug: Executing '/bin/systemctl is-active Atom'
- Debug: Executing '/bin/systemctl is-enabled Atom'
- Debug: Executing 'su - cloudadm -c "/usr/local/boomi/cloud/bin/atom start"'
- Debug: Executing '/bin/systemctl is-enabled Atom'
- Debug: Executing '/bin/systemctl enable Atom'
- # Why is it still trying to use systemctl to check the status?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement