confluence自启动

Published on with 0 views and 0 comments
[root@system-wiki ~]# cat /usr/lib/systemd/system/wiki.service 
[Unit]
Description=Wiki

[Service]
Type=simple
PIDFile=/usr/local/atlassian/confluence/work/catalina.pid
ExecStartPre=rm -rf /usr/local/atlassian/confluence/work/catalina.pid
ExecStart=/usr/local/atlassian/confluence/bin/startup.sh
ExecStop=/usr/local/atlassian/confluence/bin/shutdown.sh
PrivateTmp=true
Restart=always
User=confluence
Group=confluence
[Install]
WantedBy=multi-user.target

pid 设置文件:/usr/local/atlassian/confluence/bin/setenv.sh


标题:confluence自启动
作者:cuijianzhe
地址:https://solo.cjzshilong.cn/articles/2022/06/13/1655119776419.html

到头来 我们记住的 不是敌人的攻击 而是朋友的沉默 ---马丁·路德·金