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 18:16:29 +02:00

19 lines
441 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=CHANGEMETOROOTURL"
Environment="PORT=3000"
Environment="MONGO_URL=mongodb://localhost:27017/rocketchat"
[Install]
WantedBy=multi-user.target