- [Unit]
- Description=Robware Mailboxes API
- [Service]
- WorkingDirectory=/var/www/Api.Mailboxes
- ExecStart=/usr/bin/dotnet /var/www/Api.Mailboxes/Robware.Api.Mailboxes.dll
- Restart=always
- # Restart service after 10 seconds if the dotnet service crashes:
- RestartSec=10
- KillSignal=SIGINT
- SyslogIdentifier=Api.Mailboxes
- User=www-data
- Environment=ASPNETCORE_ENVIRONMENT=Production
- [Install]
- WantedBy=multi-user.target
|