-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0276f48
commit d8e8fb9
Showing
9 changed files
with
633 additions
and
194 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
[Unit] | ||
Description=PoisnCopy application service | ||
[Service] | ||
WorkingDirectory=/var/www/poisncopy | ||
ExecStart=/usr/bin/dotnet /var/www/poisncopy/PoisnCopy.dll | ||
Restart=always | ||
#Restart service after 10 seconds if the dotnet service crashes: | ||
RestartSec=10 | ||
KillSignal=SIGINT | ||
SyslogIdentifier=poisncopy | ||
User=www-data | ||
Environment=ASPNETCORE_ENVIRONMENT=Production | ||
Environment=DOTNET_PRINT_TELEMETRY_MESSAGE=false | ||
[Install] | ||
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.