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
2017-07-21 11:56:40 +02:00

18 lines
413 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=Rocket.Chat
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