Loading

摘要: 基础启停命令 # 配置文件如果没有fork=true,则需要--fork才能在后台启动# 启动 ./bin/mongod --fork --config ./conf/mongo.conf./bin/mongod --config ./conf/mongodb.conf./bin/mongod -f 阅读全文
posted @ 2019-11-27 13:41 Outsrkem 阅读(124) 评论(0) 推荐(0)
摘要: 系统服务,开机不需要登录就能运行的程序(相当于开机自启)/usr/lib/systemd/system 用户服务,需要登录后才能运行的程序/usr/lib/systemd/user 目录下又存在两种类型的文件: *.service 服务unit文件 *.target 开机级别unit 配置文件详解 阅读全文
posted @ 2019-11-27 13:41 Outsrkem 阅读(1002) 评论(0) 推荐(0)