api.mailboxes.service 409 B

12345678910111213141516
  1. [Unit]
  2. Description=Robware Mailboxes API
  3. [Service]
  4. WorkingDirectory=/var/www/Api.Mailboxes
  5. ExecStart=/usr/bin/dotnet /var/www/Api.Mailboxes/Robware.Api.Mailboxes.dll
  6. Restart=always
  7. # Restart service after 10 seconds if the dotnet service crashes:
  8. RestartSec=10
  9. KillSignal=SIGINT
  10. SyslogIdentifier=Api.Mailboxes
  11. User=www-data
  12. Environment=ASPNETCORE_ENVIRONMENT=Production
  13. [Install]
  14. WantedBy=multi-user.target