This website requires JavaScript.
Explore
Help
Sign In
mtrossevin
/
ansible-roles
Watch
1
Star
0
Fork
You've already forked ansible-roles
0
forked from
evolix/ansible-roles
Code
Issues
Pull requests
Releases
Wiki
Activity
e49379ebd0
ansible-roles
/
tomcat-instance
/
templates
/
bin
/
startup.sh
5 lines
100 B
Bash
Raw
Normal View
History
Unescape
Escape
init tomcat-instance role
2017-01-03 12:41:19 +01:00
#!/bin/sh
# alias for compatibility
tomcat: Use system units instead of user units 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.)
2021-11-23 16:31:43 +01:00
sudo systemctl start tomcat@
{
{
tomcat_instance_name
}
}
.service
Reference in a new issue
Copy permalink