mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
17 lines
386 B
Desktop File
17 lines
386 B
Desktop File
[Unit]
|
|
Description=Aaru Server
|
|
|
|
[Service]
|
|
WorkingDirectory=/var/www/aaru-server
|
|
ExecStart=/var/www/aaru-server/Aaru.Server --urls "http://*:5000"
|
|
Restart=always
|
|
# Restart service after 10 seconds if the dotnet service crashes:
|
|
RestartSec=10
|
|
KillSignal=SIGINT
|
|
SyslogIdentifier=aaru-server
|
|
User=www-data
|
|
Environment=ASPNETCORE_ENVIRONMENT=Production
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|