Update 'README.md'
This commit is contained in:
parent
665bb94aa2
commit
4c07a777c3
|
|
@ -82,6 +82,8 @@ INSERT INTO MSTeamsWebHooks (WebHookUri) VALUES ("msteamswebhookurlhere");
|
|||
```
|
||||
3. Copy the ``smsdatabase.sqlite`` database file to the root of the directory where the app will run from
|
||||
4. Start the TwilioSMSReceiver app up
|
||||
- On Linux this will be ``./TwilioSMSReceiver``
|
||||
- On Windows, this will simply mean executing the TwilioSMSReceiver.exe executable
|
||||
|
||||
The app can be daemonized on Linux as a systemd unit file if you wish to, an example is here:
|
||||
```INI
|
||||
|
|
@ -97,10 +99,12 @@ SyslogIdentifier=SMSReceiver
|
|||
User=dotnet
|
||||
Environment=ASPNETCORE_ENVIRONMENT=Production
|
||||
Environment=DOTNET_PRINT_TELEMETRY_MESSAGE=false
|
||||
Environment=ASPNETCORE_URLS="http://[::]:9999"
|
||||
Environment=ASPNETCORE_URLS="http://localhost:9999"
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
```
|
||||
|
||||
This will run the Web App listening on localhost port 9999 with the HTTP protocol. In addition, this will place it in Production mode and will disable certain API endpoints listed above.
|
||||
|
||||
Windows service support will come in a later release
|
||||
Loading…
Reference in New Issue