Update the service to always restart
This commit is contained in:
parent
c1721e7727
commit
877a835367
|
@ -7,7 +7,7 @@ Type=simple
|
||||||
Environment=HOME=/home/ubuntu
|
Environment=HOME=/home/ubuntu
|
||||||
WorkingDirectory=/home/ubuntu/Ooui/PlatformSamples/AspNetCoreMvc
|
WorkingDirectory=/home/ubuntu/Ooui/PlatformSamples/AspNetCoreMvc
|
||||||
ExecStart=/usr/bin/dotnet run --no-build --server.urls=http://0.0.0.0:80/
|
ExecStart=/usr/bin/dotnet run --no-build --server.urls=http://0.0.0.0:80/
|
||||||
Restart=on-abort
|
Restart=always
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Reference in New Issue