Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

linux service .net app

[Unit]
Description=IG Render Service

[Service]
WorkingDirectory=/opt/myservice
ExecStart=/usr/bin/dotnet myservice.dll
Restart=always
# Restart service after 10 seconds if the dotnet service crashes:
RestartSec=10
KillSignal=SIGINT
SyslogIdentifier=myservice
# Optionaly define a specific user to run the service
# User=someuser
Environment=ASPNETCORE_ENVIRONMENT=Production
Environment=DOTNET_PRINT_TELEMETRY_MESSAGE=false

[Install]
WantedBy=multi-user.target
Comment

PREVIOUS NEXT
Code Example
Shell :: Trying to register Bundler::GemfileError for status code 4 but Bundler::GemfileError is already registered 
Shell :: am i ~/.zshrc or ~/.bashrc 
Shell :: Using git filter-branch to Git Change Commit Author 
Shell :: git checkout to pr 
Shell :: bat restart printer spooler 
Shell :: unity progrids git url 
Shell :: MaatwebsiteExcel install laravel 
Shell :: scp linux 
Shell :: make tar.gz 
Shell :: create service without spec 
Shell :: perl install Switch 
Shell :: download spotify linux 
Shell :: ls recursive 
Shell :: zsh mac vi 
Shell :: fix node gyp issue on linux 
Shell :: linux make executable 
Shell :: kde vs gnome 
Shell :: using unit price prestashop 
Shell :: npm windows error 
Shell :: git clone bare 
Shell :: power shell 
Shell :: nautilus fedora install 
Shell :: git view last commits 
Shell :: CMake: unsupported GNU version -- gcc versions later than 8 are not supported 
Shell :: git delete last commit 
Shell :: asdf use local nodejs 
Shell :: check service status in linux 
Shell :: first 3 lines of a file 
Shell :: github merge 
Shell :: vim discard changes and quit command 
ADD CONTENT
Topic
Content
Source link
Name
3+4 =