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
431 B
SYSTEMD
Raw Normal View History

2016-04-29 16:32:48 +02:00
[Unit]
2017-07-19 12:49:06 +02:00
Description=Rocket.Chat
2016-04-29 16:32:48 +02:00
After=network.target
[Service]
2017-07-19 12:49:06 +02:00
Type=simple
WorkingDirectory=/var/www/rocketchat
User=www-data
2016-04-29 16:32:48 +02:00
Group=www-data
2017-07-19 12:49:06 +02:00
ExecStart=/usr/local/bin/node main.js
Restart=always
SyslogIdentifier=Rocket.Chat
Environment="BIND_IP=127.0.0.1"
Environment="ROOT_URL=https://#ROOTURL##LOCATION#"
Environment="PORT=3000"
2016-04-29 16:32:48 +02:00
Environment="MONGO_URL=mongodb://localhost:27017/rocketchat"
[Install]
2017-07-19 12:49:06 +02:00
WantedBy=multi-user.target