forked from evolix/ansible-roles
e49379ebd0
This massively reduce the output of `systemctl status` (which is usefull when checking what is running on a server), remove the need of enable-linger (which is always good when possible) and allows to check the status of the service much more easily. (It also enable more sandboxing options if wanted but we don't enable any in this commit.)
5 lines
100 B
Bash
Executable file
5 lines
100 B
Bash
Executable file
#!/bin/sh
|
|
# alias for compatibility
|
|
|
|
sudo systemctl start tomcat@{{ tomcat_instance_name }}.service
|