Added service file to run server on linux (systemd)
This commit is contained in:
15
aindustries-be.service
Normal file
15
aindustries-be.service
Normal 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
|
||||||
Reference in New Issue
Block a user