Translate

Use categories on the left bar

For orientation in my website, please use a left menu bar with category/subcategory list

Linux - tomcat

Make Tomcat as a service in systemd.

chmod 0755 /etc/init.d/tomcat
chkconfig --add tomcat
chkconfig --level 234 tomcat on
chkconfig --list tomcat

Note: This output shows SysV services only and does not include native
      systemd services. SysV configuration data might be overridden by native
      systemd configuration.

      If you want to list systemd services use 'systemctl list-unit-files'.
      To see services enabled on particular target use
      'systemctl list-dependencies [target]'.

tomcat          0:off   1:off   2:on    3:on    4:on    5:on    6:off

systemctl status tomcat
● tomcat.service - SYSV: Production integration layer server
   Loaded: loaded (/etc/rc.d/init.d/tomcat; generated)
   Active: inactive (dead)
     Docs: man:systemd-sysv-generator(8)

No comments:

Post a Comment