Asp.net core mvc 편집하기
편집을 되돌릴 수 있습니다.
이 편집을 되돌리려면 아래의 바뀐 내용을 확인한 후 저장해주세요.
최신판 | 당신의 편집 | ||
35번째 줄: | 35번째 줄: | ||
<syntaxhighlight lang="ini"> | <syntaxhighlight lang="ini"> | ||
[Unit] | [Unit] | ||
+ | |||
Description=Example .NET Web API App running on Ubuntu | Description=Example .NET Web API App running on Ubuntu | ||
[Service] | [Service] | ||
+ | |||
WorkingDirectory=/var/www/helloapp | WorkingDirectory=/var/www/helloapp | ||
+ | |||
ExecStart=/usr/bin/dotnet /var/www/helloapp/helloapp.dll | ExecStart=/usr/bin/dotnet /var/www/helloapp/helloapp.dll | ||
+ | |||
Restart=always | Restart=always | ||
+ | |||
# Restart service after 10 seconds if the dotnet service crashes: | # Restart service after 10 seconds if the dotnet service crashes: | ||
+ | |||
RestartSec=10 | RestartSec=10 | ||
+ | |||
KillSignal=SIGINT | KillSignal=SIGINT | ||
+ | |||
SyslogIdentifier=dotnet-example | SyslogIdentifier=dotnet-example | ||
+ | |||
User=www-data | User=www-data | ||
+ | |||
Environment=ASPNETCORE_ENVIRONMENT=Production | Environment=ASPNETCORE_ENVIRONMENT=Production | ||
+ | |||
Environment=DOTNET_PRINT_TELEMETRY_MESSAGE=false | Environment=DOTNET_PRINT_TELEMETRY_MESSAGE=false | ||
[Install] | [Install] | ||
+ | |||
WantedBy=multi-user.target | WantedBy=multi-user.target | ||
</syntaxhighlight><br /> | </syntaxhighlight><br /> | ||
[[분류:Asp.net]] | [[분류:Asp.net]] |