gosora/gosora_example.service
Azareal 2e0f2bc7b6 Updated the installation instructions to make them a little friendlier.
Changed the default installation directory to /home/gosora/src/ instead of /home/gosora/
2018-08-20 21:37:04 +10:00

24 lines
762 B
Desktop File

# An example systemd service file
[Unit]
Description=Gosora
[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 these to the location of Gosora
WorkingDirectory=/home/gosora/src
# Make sure you manually run pre-run-linux before you start the service
ExecStart=/home/gosora/src/Gosora
# If things don't work for some reason, try putting # in-front of the following three lines until it does and open an issue on the bug tracker
ProtectSystem=full
PrivateDevices=true
PrivateUsers=true
[Install]
WantedBy=multi-user.target