暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

lib_systemd_system_rocketchat.j2 545B

123456789101112
  1. [Unit]
  2. Description=The Rocket.Chat server
  3. After=network.target remote-fs.target nss-lookup.target apache2.service mongod.service
  4. [Service]
  5. ExecStart=/usr/local/bin/node /usr/local/bin/Rocket.Chat/main.js
  6. StandardOutput=syslog
  7. StandardError=syslog
  8. SyslogIdentifier=rocketchat
  9. User=rocketchat
  10. Environment=MONGO_URL=mongodb://localhost:27017/rocketchat?replicaSet=rs01 MONGO_OPLOG_URL=mongodb://localhost:27017/local?replicaSet=rs01 ROOT_URL=https://{{ rocketchat_domain }}/ PORT={{ rocketchat_internal_port }}
  11. [Install]
  12. WantedBy=multi-user.target