D
D
distmemory2019-06-21 17:24:53
ASP.NET
distmemory, 2019-06-21 17:24:53

Error creating asp.net daemon on Centos 7. Error STATUS=203/EXEC What did I write wrong in the path to the executable file?

[Unit]
Description=Example .NET Web API App running on CentOS 7

[Service]
WorkingDirectory=/var/www/www-root/data/www/new.app.org
ExecStart=/var/www/www-root/data/www/new.app.org/app.Web.dll
Restart=always
# Restart service after 10 seconds if the dotnet service crashes:
RestartSec=10
KillSignal=SIGINT
SyslogIdentifier=dotnet-example
User=nginx
Environment=ASPNETCORE_ENVIRONMENT=Production

[Install]
WantedBy=multi-user.target

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Aristarkh Zagorodnikov, 2019-06-26
@distmemory

ExecStart should have `dotnet` first: https://github.com/drivenet/synchronizzer/blob/070...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question