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
2016-04-29 16:32:48 +02:00

19 lines
446 B
Desktop File

[Unit]
Description=Rocket.Chat
After=network.target
[Service]
Type=simple
WorkingDirectory=/var/www/rocketchat
User=www-data
Group=www-data
ExecStart=/usr/local/bin/node main.js
Restart=always
SyslogIdentifier=Rocket.Chat
Environment="BIND_IP=127.0.0.1"
Environment="ROOT_URL=https://rc.dev.weho.st"
Environment="PORT=3000"
Environment="MONGO_URL=mongodb://localhost:27017/rocketchat"
[Install]
WantedBy=multi-user.target