diff --git a/ooui.service b/ooui.service new file mode 100644 index 0000000..b63bdad --- /dev/null +++ b/ooui.service @@ -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