From 30af34108d09d3a6a8cc9d95aa0aed965050940f Mon Sep 17 00:00:00 2001 From: "Frank A. Krueger" Date: Thu, 23 Nov 2017 12:08:30 -0800 Subject: [PATCH] Add example ubuntu serviced unit --- ooui.service | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 ooui.service 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