Skip to content

dabankio/EDPoS-Reward

 
 

Repository files navigation

dpos奖励计算程序

install as systemd service

sudo snap install dotnet-sdk --classic

touch /etc/systemd/system/kestrel-<your_app>.service

sudo systemctl enable kestrel-<app_name>.service
sudo systemctl start kestrel-<app_name>.service 
sudo systemctl status kestrel-alfalab.service
[Unit]
Description=<App Name>

[Service]
WorkingDirectory=/var/www/<app_folder>
ExecStart=/usr/bin/dotnet /var/www/<app_folder>/<app_name>.dll
Restart=always
# Restart service after 10 seconds if the dotnet service crashes:
RestartSec=10
KillSignal=SIGINT
SyslogIdentifier=dotnet-example
User=www-data
Environment=ASPNETCORE_ENVIRONMENT=Production
Environment=DOTNET_PRINT_TELEMETRY_MESSAGE=false

[Install]
WantedBy=multi-user.target 

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 99.8%
  • Makefile 0.2%