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