updated systemctl to have sudo in front to match#238
updated systemctl to have sudo in front to match#238evanowen wants to merge 2 commits intozenoss:developfrom evanowen:sudo-systemctl
Conversation
Updated code to have systemctl have sudo in front. Was breaking on some of my hosts without it (ubuntu 16.04) Now matches other lines too Line 340: `sudo -S service` Line 349: `sudo -S service`
one more update with a sudo
|
Have you verified this won't cause a regression? there was work done in the past to remove sudo from as many commands as possible where it wasn't required... |
|
To answer your question no. If someone somehow got However, I am not really sure off the top of my head if that's even possible to get this running without It looks like on like 340, and 349 you guys do pretty much the same thing with the service command as I am describing. |
|
Is there a way to create a Configuration Property to toggle this on or off, with the default being off? |
Updated code to have systemctl have sudo in front. Was breaking on my hosts without it (ubuntu 16.04.5 LTS)
Now matches other lines too...
Line 340:
sudo -S serviceLine 349:
sudo -S service