From adf544dca91c6aef3e69522673ef48751c171013 Mon Sep 17 00:00:00 2001 From: tuftedocelot Date: Thu, 6 Nov 2014 10:33:18 -0600 Subject: [PATCH] Add systemd service file to contrib Supersedes #887 to add a systemd unit file which will run as a user and whose gollum path and options can be changed as needed. --- contrib/systemd/gollum@.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 contrib/systemd/gollum@.service diff --git a/contrib/systemd/gollum@.service b/contrib/systemd/gollum@.service new file mode 100644 index 00000000..1761f650 --- /dev/null +++ b/contrib/systemd/gollum@.service @@ -0,0 +1,12 @@ +[Unit] +Description=Gollum wiki server +After=network.target + +[Service] +Type=simple +User=%i +ExecStart=/usr/bin/gollum +Restart=on-abort + +[Install] +WantedBy=multi-user.target