Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

asp.net core linux systemd

sudo systemctl stop AspNetSite
dotnet publish -c Release -o /srv/AspNetSite/
sudo cp AspNetSite.service /etc/systemd/system/AspNetSite.service
sudo systemctl daemon-reload
sudo systemctl start AspNetSite
Comment

asp.net core linux systemd

sudo cp AspNetSite.service /etc/systemd/system/AspNetSite.service
sudo systemctl daemon-reload
Comment

asp.net core linux systemd

sudo systemctl enable AspNetSite
Comment

asp.net core linux systemd

dotnet add package Microsoft.Extensions.Hosting.Systemd --version 3.1.1
Comment

asp.net core linux systemd

sudo journalctl -u AspNetSite #query all output, oldest to newest
sudo journalctl -u AspNetSite -f #query all output and follow live
sudo journalctl -u AspNetSite -r #query all output, newest to oldest
sudo journalctl -u AspNetSite --since="2020-01-17 11:00:00" --until="2020-01-17 11:15:00" #filter by time
Comment

PREVIOUS NEXT
Code Example
Shell :: freetype2 linux install 
Shell :: turn power off arch 
Shell :: how to update mongodb in ubuntu 18.04 
Shell :: github labeler example 
Shell :: tools for debuging a server 
Shell :: kill: (31229): No such process 
Shell :: vue google sign in github 
Shell :: vim term split to the right 
Shell :: give names to ips on local machine ubuntu 
Shell :: yetanotherforum install 
Shell :: install node vns 
Shell :: bash sum floating point numbers 
Shell :: linux-shutdown-befehle 
Shell :: gitpython checkout remote branch 
Shell :: Running setup.py install for pyahocorasick ... error 
Shell :: how to run two files together in repl.it 
Shell :: create folder putty linux 
Shell :: windows launch node with variables 
Shell :: how to use find and -regex flag together 
Shell :: Errors were encountered while processing: linux-image-5.4.0-71-generic linux-image-5.4.0-70-generic 
Shell :: command in git to close txt file 
Shell :: git revert a set of commits 
Shell :: how to start xamp cpanel in ubuntu 
Shell :: view shell variables 
Shell :: get OS name uname 
Shell :: diff remote file 
Shell :: flasky fake 
Shell :: rclone conf location on windows 
Shell :: libexpat fedora 
Shell :: disconnect ssh raspberry pi how to see current upgrade 
ADD CONTENT
Topic
Content
Source link
Name
8+5 =