'How to set Tomcat service startup type as Manual or Automatic delayed in Linux CLI
I have installed tomcat as service in Linux ubuntu 20.04 and I want to set startup type as either Manual or Automatic or Automatic delayed.
In /etc/systemd/system/tomcat.service, we have below configuration for our tomcat service
ExecStart=tomcat9.0.33/bin/startup.sh
ExecStop=tomcat9.0.33/bin/shutdown.sh
User=root
Group=root
UMask=0007
RestartSec=10
Restart=always
I could not find any help for how to set startup type. Is it possible to set such Tomcat service start up in Linux CLI
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
