1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/rocketchat_ynh.git synced 2024-09-03 20:16:25 +02:00
rocketchat_ynh/conf/rocketchat.service
Selamanse 3493b1fd52 Fixes backup and restore
Adds working upgrade
2017-07-26 08:51:04 +02:00

18 lines
412 B
Desktop File

[Unit]
Description=rocketchat
After=network.target
[Service]
Type=simple
WorkingDirectory=/var/lib/rocketchat
User=#USER#
ExecStart=/usr/local/bin/node main.js
Restart=always
SyslogIdentifier=rocketchat
Environment="BIND_IP=127.0.0.1"
Environment="ROOT_URL=https://#ROOTURL##LOCATION#"
Environment="PORT=#PORT#"
Environment="MONGO_URL=mongodb://localhost:27017/rocketchat"
[Install]
WantedBy=multi-user.target