Need a help Unitd Services in ubuntu system

I have created unitd services in ubuntu 16 and installed. AFter that i changed ROOT url to domainname but its shows previsous url only

[Unit]\nDescription=The Test.Chat server\\n[Service]\nExecStart=/usr/local/bin/node /opt/Test.Chat/main.js\nStandardOutput=syslog\nStandardError=syslog\nSyslogIdentifier=rocketchat\nUser=rocketchat\nEnvironment=MONGO_URL=mongodb://localhost:27017/rocketchat ROOT_URL= PORT=3000\n[Install]\" | sudo tee /lib/systemd/system/Test.service

1)By default am gave root url is my ip:3000. in web console it not working
2)I will change root url to domain name. here domain name and hot name are same. i also edi hosts file also

KINDLY syggest with me

1 Like