Skip to content

Commit 3a0d338

Browse files
authored
Create kestrel-smartstore.service
1 parent 923c79f commit 3a0d338

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

kestrel-smartstore.service

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[Unit]
2+
Description=Smartstore Core Web App running on Linux
3+
4+
[Service]
5+
WorkingDirectory=/var/www/smartstore
6+
ExecStart=/var/www/smartstore/Smartstore.Web
7+
Restart=always
8+
#Restart service after 10 seconds if dotnet service crashes:
9+
RestartSec=10
10+
KillSignal=SIGINT
11+
SyslogIdentifier=smartstore-core
12+
User=www-data
13+
Environment=ASPNETCORE_ENVIRONMENT=Production
14+
Environment=DOTNET_PRINT_TELEMETRY_MESSAGE=false
15+
16+
[Install]
17+
WantedBy=multi-user.target

0 commit comments

Comments
 (0)