Add example ubuntu serviced unit
This commit is contained in:
parent
1f1c90c250
commit
30af34108d
|
@ -0,0 +1,13 @@
|
|||
[Unit]
|
||||
Description=Ooui Service
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Environment=HOME=/home/ubuntu
|
||||
WorkingDirectory=/home/ubuntu/Ooui/PlatformSamples/AspNetCoreMvc
|
||||
ExecStart=/usr/bin/dotnet run --no-build --server.urls=http://0.0.0.0:80/
|
||||
Restart=on-abort
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in New Issue