gosora/gosora_example.service
Azareal f2ecb9dbf7 apng is no longer a valid image format as we don't have the technology to optimise it.
Experimenting with systemd.

Began work on an experimental hook table implementation.
Tweaked some hook implementations to make their behaviour less ambiguous.
2018-08-07 14:14:28 +10:00

22 lines
613 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
# Make sure you manually run pre-run-linux before you start the service
ExecStart=/home/gosora/Gosora
# Let's hope this doesn't blow up on me
ProtectSystem=full
[Install]
WantedBy=multi-user.target