Added an experimental systemd service file.

This commit is contained in:
Azareal 2018-07-20 14:59:11 +10:00
parent 75a6ceca84
commit e62f6a4868
1 changed files with 17 additions and 0 deletions

17
gosora_example.service Normal file
View File

@ -0,0 +1,17 @@
# An example systemd service file
[Unit]
Description=A service for the Gosora Forum Software
[Service]
Type=simple
# You might want to create a user / group for Gosora and set these to further harden your system
#User=gosoraservice
#Group=gosoraservice
Restart=on-failure
RestartSec=10
# Set this to the location of Gosora
ExecStart=/home/gosora/gosora
[Install]
WantedBy=multi-user.target