mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
Add service.
This commit is contained in:
16
DiscImageChef.Server/dic-server.service
Normal file
16
DiscImageChef.Server/dic-server.service
Normal file
@@ -0,0 +1,16 @@
|
||||
[Unit]
|
||||
Description=DiscImageChef Server
|
||||
|
||||
[Service]
|
||||
WorkingDirectory=/var/www/dic-server
|
||||
ExecStart=/var/www/dic-server/DiscImageChef.Server
|
||||
Restart=always
|
||||
# Restart service after 10 seconds if the dotnet service crashes:
|
||||
RestartSec=10
|
||||
KillSignal=SIGINT
|
||||
SyslogIdentifier=dic-server
|
||||
User=apache
|
||||
Environment=ASPNETCORE_ENVIRONMENT=Production
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user