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

20 lines
449 B
SYSTEMD
Raw Normal View History

2016-04-29 16:32:48 +02:00
[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"
2016-04-29 20:52:26 +02:00
Environment="ROOT_URL=https://CHANGEMETOROOTURL"
2016-04-29 16:32:48 +02:00
Environment="PORT=3000"
Environment="MONGO_URL=mongodb://localhost:27017/rocketchat"
[Install]
WantedBy=multi-user.target