Added service file to run server on linux (systemd)

This commit is contained in:
2025-10-06 22:33:48 +02:00
parent f01659ea50
commit 48d59b6f90

15
aindustries-be.service Normal file
View File

@@ -0,0 +1,15 @@
[Unit]
Description=aindustries.be website
After=network.target
[Service]
Type=simple
Restart=always
RestartSec=1
# Change with proper user to run the service
User=web
# Change with the installation location of the executable
ExecStart=/usr/share/bin/aindustries-be
[Install]
WantedBy=multi-user.target