littleshop/LittleShop/publish/littleshop.service
SysAdmin caff08cb6f Deploy LittleShop to Hostinger with Docker and BunkerWeb
- Updated Docker configuration for production deployment
- Added SilverPay integration settings
- Configured for admin.thebankofdebbie.giize.com deployment
- Includes all recent security fixes and improvements

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-24 13:00:17 +01:00

26 lines
642 B
Desktop File

[Unit]
Description=LittleShop ASP.NET Core Web Application
After=network.target
[Service]
Type=notify
WorkingDirectory=/opt/littleshop
ExecStart=/usr/bin/dotnet /opt/littleshop/LittleShop.dll --environment=Localhost
Restart=always
RestartSec=10
KillSignal=SIGINT
SyslogIdentifier=littleshop
User=www-data
Environment=ASPNETCORE_ENVIRONMENT=Localhost
Environment=DOTNET_PRINT_TELEMETRY_MESSAGE=false
Environment=DOTNET_CLI_TELEMETRY_OPTOUT=1
# Security hardening
PrivateTmp=true
NoNewPrivileges=true
ProtectSystem=strict
ProtectHome=true
ReadWritePaths=/opt/littleshop
ReadWritePaths=/opt/littleshop/logs
[Install]
WantedBy=multi-user.target