Advice required regarding systemd @lennart
Requirement: To use user account instead of root to restart the application with the use of systemd script.
I have tomcat application and I want to use systemd script but in a secured manner. What I have done here is I have invoked my systemd with root account and using user account to restart the application ( provided sudo privilege to my user account). Do we have any other option to use it in a secured manner or this is a right way to do.