mirror of
https://github.com/YunoHost-Apps/rocketchat_ynh.git
synced 2024-09-03 20:16:25 +02:00
3493b1fd52
Adds working upgrade
18 lines
412 B
Desktop File
18 lines
412 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=rocketchat
|
|
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
|