commit a4f3289846ba639e49a701925eb6fbc9621e80b9 parent eac2ab83175a5a59414636d1f5d0bd2d4a3d944a Author: pyratebeard <root@pyratebeard.net> Date: Mon, 12 Nov 2018 11:43:34 +0000 gollum notes Diffstat:
A | documentation/gollum.md | | | 21 | +++++++++++++++++++++ |
1 file changed, 21 insertions(+), 0 deletions(-)
diff --git a/documentation/gollum.md b/documentation/gollum.md @@ -0,0 +1,21 @@ +# gollum + +## install and enable +``` +gem install gollum +```` + +enter the following in `/etc/systemd/system/gollum-personal.service` +``` +[Unit] +Description=Personal Gollum wiki server +After=network.target + +[Service] +Type=simple +ExecStart=/home/pyratebeard/.gem/ruby/2.5.0/bin/gollum --show-all --live-preview --h1-title --port 4666 --css "/path/to/your/repo" +Restart=on-abort + +[Install] +WantedBy=multi-user.target +```