问题原文
原帖链接 · ksm · CC BY-SA 3.0
i'm have successfully setup the HA cluster using pacemaker and corosync on centos7, and i've also been able to add and start resources.
one of the resources is an instance of tomcat, and in the current configuration it runs fine. the only problem i am having is that tomcat is being run as root user. i would like the tomcat resource to launch as non-root user. i've been reading the documentation but i havent been able to find anything yet.
can anyone here see if they have a solution to this?
thanks in advance.
已采纳解答
原帖链接 · ksm · CC BY-SA 3.0
looking carefully at the documentation for the HA resource type ocf:heartbeat:tomcat there is an option tomcat_user , when set, tomcat will be launched as that user.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
