ServerStatus轻量级服务器监控软件

备忘一下
https://github.com/CokeMine/ServerStatus-Hotaru

vim /etc/init.d/status-client
#!/bin/sh /etc/rc.common
START=99

start(){
    /root/status-client -dsn="Name:Password@domain.com:port">/dev/null 2>&1 &
}
chmod +x /etc/init.d/status-client
/etc/init.d/status-client enable
/etc/init.d/status-client start

完整的脚本示例内容应该是

#!/bin/sh /etc/rc.common
START=99
start(){
        echo "myscript is start"
}
 
stop(){
       echo "myscript is stop"
}
restart(){
        echo "myscript  is restart"
}

评论

  1. 博主
    5 月前
    2023-11-22 10:26:59

    https://status.kimi.pub 本站的,请大家品鉴

发送评论 编辑评论


				
|´・ω・)ノ
ヾ(≧∇≦*)ゝ
(☆ω☆)
(╯‵□′)╯︵┴─┴
 ̄﹃ ̄
(/ω\)
∠( ᐛ 」∠)_
(๑•̀ㅁ•́ฅ)
→_→
୧(๑•̀⌄•́๑)૭
٩(ˊᗜˋ*)و
(ノ°ο°)ノ
(´இ皿இ`)
⌇●﹏●⌇
(ฅ´ω`ฅ)
(╯°A°)╯︵○○○
φ( ̄∇ ̄o)
ヾ(´・ ・`。)ノ"
( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃
(ó﹏ò。)
Σ(っ °Д °;)っ
( ,,´・ω・)ノ"(´っω・`。)
╮(╯▽╰)╭
o(*////▽////*)q
>﹏<
( ๑´•ω•) "(ㆆᴗㆆ)
😂
😀
😅
😊
🙂
🙃
😌
😍
😘
😜
😝
😏
😒
🙄
😳
😡
😔
😫
😱
😭
💩
👻
🙌
🖕
👍
👫
👬
👭
🌚
🌝
🙈
💊
😶
🙏
🍦
🍉
😣
Source: github.com/k4yt3x/flowerhd
颜文字
Emoji
小恐龙
花!
上一篇
下一篇