mirror of
https://github.com/YunoHost-Apps/rocketchat_ynh.git
synced 2024-09-03 20:16:25 +02:00
24 lines
818 B
Desktop File
24 lines
818 B
Desktop File
[Unit]
|
|
Description=The Rocket.Chat server
|
|
Wants=__MONGODB_SERVICENAME__.service
|
|
After=network.target remote-fs.target nss-lookup.target nginx.service __MONGODB_SERVICENAME__.service
|
|
|
|
[Service]
|
|
User=__APP__
|
|
Group=__APP__
|
|
Environment="NODE_ENV=production"
|
|
WorkingDirectory=__FINALPATH__/
|
|
Environment="__YNH_NODE_LOAD_PATH__"
|
|
ExecStart=__YNH_NODE__ __FINALPATH__/main.js
|
|
SyslogIdentifier=__APP__
|
|
Environment=MONGO_URL=mongodb://localhost:27017/__APP__?replicaSet=rs01
|
|
Environment=MONGO_OPLOG_URL=mongodb://localhost:27017/local?replicaSet=rs01
|
|
Environment=ROOT_URL=https://__DOMAIN____PATH__
|
|
Environment=PORT=__PORT__
|
|
Environment=ADMIN_USERNAME=__ADMIN__
|
|
Environment=ADMIN_PASS=__PASSWORD__
|
|
Environment=ADMIN_EMAIL=__EMAIL__
|
|
Environment=OVERWRITE_SETTING_Show_Setup_Wizard=completed
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|