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
2018-10-19 21:46:26 +02:00

18 lines
387 B
Desktop File

[Unit]
Description=rocketchat
After=network.target
[Service]
Type=simple
WorkingDirectory=#DESTDIR#
User=#USER#
ExecStart=#NODE# main.js
Restart=always
SyslogIdentifier=rocketchat
Environment="BIND_IP=127.0.0.1"
Environment="ROOT_URL=https://#ROOTURL##LOCATION#"
Environment="PORT=#PORT#"
Environment="MONGO_URL=mongodb://localhost:27017/#DBNAME#"
[Install]
WantedBy=multi-user.target