☀️ 尝试支持 Docker 构建
This commit is contained in:
parent
0000c1dbe9
commit
94c16fbaa6
@ -82,7 +82,7 @@ login() {
|
|||||||
|
|
||||||
systemctl_reload(){
|
systemctl_reload(){
|
||||||
echo "正在写入系统进程守护 . . ."
|
echo "正在写入系统进程守护 . . ."
|
||||||
sudo -i
|
sudo -i>> /dev/null 2>&1
|
||||||
echo "[Unit]
|
echo "[Unit]
|
||||||
Description=PagerMaid-Modify telegram utility daemon
|
Description=PagerMaid-Modify telegram utility daemon
|
||||||
After=network.target
|
After=network.target
|
||||||
@ -97,7 +97,7 @@ systemctl_reload(){
|
|||||||
chmod 755 pagermaid.service >> /dev/null 2>&1
|
chmod 755 pagermaid.service >> /dev/null 2>&1
|
||||||
systemctl daemon-reload >> /dev/null 2>&1
|
systemctl daemon-reload >> /dev/null 2>&1
|
||||||
systemctl enable pagermaid >> /dev/null 2>&1
|
systemctl enable pagermaid >> /dev/null 2>&1
|
||||||
su pagermaid
|
su pagermaid >> /dev/null 2>&1
|
||||||
echo ""
|
echo ""
|
||||||
echo "请在脚本退出后输入 exit 退出 Docker"
|
echo "请在脚本退出后输入 exit 退出 Docker"
|
||||||
echo ""
|
echo ""
|
||||||
|
Loading…
Reference in New Issue
Block a user