#!/bin/bash
# Confluence Linux service controller script
cd "/data/wiki/atlassian/confluence/bin"
case "$1" in
start)
./start-confluence.sh
;;
stop)
./stop-confluence.sh
;;
restart)
./stop-confluence.sh
./start-confluence.sh
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
;;
esac
时间: 2024-10-11 20:53:29