Skip to content

饥荒linux服务器安装、启停、定时更新脚本

License

Notifications You must be signed in to change notification settings

cuukenn/dontstarveserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

饥荒服务器安装、启停及定时更新

注:

下载

git clone https://github.com/cuukenn/dontstarveserver.git

安装

sh setup.sh

准备

  • 移动服务端 mods 到指定目录
  • 移动存档到服务器指定目录

启动

  • 安装完成后会有日志打印,按照顺序执行即可

定时更新服务器

  • 操作系统开启定时服务

    • centos7

      systemctl enable crond
      systemctl start  crond
    • centos6

      service crond start
  • 写入定时任务

    crontab -u ${STEAMCMD_USERNAME} /home/${STEAMCMD_USERNAME}/${DST_SCRIPT_PATH}/config/cron.cmd

About

饥荒linux服务器安装、启停、定时更新脚本

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages