Skip to content

Latest commit

 

History

History
40 lines (32 loc) · 845 Bytes

README.md

File metadata and controls

40 lines (32 loc) · 845 Bytes

Visus.VcpkgStatus

Installation

Publish and deploy the application:

mkdir /var/www/vcpkgstatus
\cp -r /tmp/publish/* /var/www/vcpkgstatus
chown -R nginx:nginx *
chmod u+x /var/www/vcpkgstatus/Visus.VcpkgStatus

Create a service file /etc/systemd/system/kestrel-vcpkgstatus.service like this:

[Unit]
Description=Vcpkg Badge Service

[Service]
WorkingDirectory=/var/www/vcpkgstatus
ExecStart=/var/www/vcpkgstatus/Visus.VcpkgStatus
Restart=always
RestartSec=10
KillSignal=SIGINT
SyslogIdentifier=kestrel-vcpkgstatus
User=nginx
Environment=ASPNETCORE_ENVIRONMENT=Production 

[Install]
WantedBy=multi-user.target

Register and start the service:

systemctl daemon-reload
systemctl enable kestrel-vcpkgstatus.service
systemctl start kestrel-vcpkgstatus.service
systemctl status kestrel-vcpkgstatus.service