From e62f6a4868af2c293b3550d50dff516bb1fbdcf1 Mon Sep 17 00:00:00 2001 From: Azareal Date: Fri, 20 Jul 2018 14:59:11 +1000 Subject: [PATCH] Added an experimental systemd service file. --- gosora_example.service | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 gosora_example.service diff --git a/gosora_example.service b/gosora_example.service new file mode 100644 index 00000000..ed6d7056 --- /dev/null +++ b/gosora_example.service @@ -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 \ No newline at end of file