mirror of
https://github.com/YunoHost-Apps/rocketchat_ynh.git
synced 2024-09-03 20:16:25 +02:00
Update systemd.service
This commit is contained in:
parent
f32e1e47c9
commit
59f1d2c593
1 changed files with 5 additions and 2 deletions
|
@ -8,11 +8,14 @@ User=__APP__
|
||||||
WorkingDirectory=__FINALPATH__
|
WorkingDirectory=__FINALPATH__
|
||||||
Environment="PATH=__ENV_PATH__"
|
Environment="PATH=__ENV_PATH__"
|
||||||
Environment="NODE_ENV=production"
|
Environment="NODE_ENV=production"
|
||||||
ExecStart=__YNH_NODE__ __FINALPATH__/main.js
|
ExecStart=__YNH_NODE__ main.js
|
||||||
StandardOutput=syslog
|
StandardOutput=syslog
|
||||||
StandardError=syslog
|
StandardError=syslog
|
||||||
SyslogIdentifier=__APP__
|
SyslogIdentifier=__APP__
|
||||||
Environment=MONGO_URL=mongodb://127.0.0.1:27017/__APP__?replicaSet=rs01 MONGO_OPLOG_URL=mongodb://127.0.0.1:27017/local?replicaSet=rs01 ROOT_URL=http://127.0.0.1:__PORT__/ PORT=__PORT__
|
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__
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Add table
Reference in a new issue