gosora/gosora_example.service

17 lines
483 B
SYSTEMD

# 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, although this this might not work right now, if we're listening directly on port 80 / 443
#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