14 lines
300 B
SYSTEMD
14 lines
300 B
SYSTEMD
|
[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
|