You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Great work and an awesome wiki, few questions. I am running gitit on FreeBSD installed from ports, I don't see an rc.d script and there doesn't seem to be an option to run as a daemon. What's the ETA on getting a daemon option available? Getting an rc.d script for FreeBSD as well as an init.d for Linux would be the icing on the cake for a sweet piece of wiki goodness.
An upstart entry for gitit is extremely simple to achieve (I realise this doesn't address the FreeBSD rc.d question, but it does fulfil this need for systems running upstart, such as ubuntu) … for example:
# gitit - a wiki backed by a git, darcs, or mercurial filestore
#
# Pages and uploaded files can be modified either directly via the VCS’s
# command-line tools or through the wiki’s web interface. Pandoc is used
# for markup processing, so pages may be written in (extended) markdown,
# reStructuredText, LaTeX, HTML, or literate Haskell, and exported in
# ten different formats, including LaTeX, ConTeXt, DocBook, RTF,
# OpenOffice ODT, and MediaWiki markup.
description "gitit - a wiki backed by a git, darcs, or mercurial filestore"
start on runlevel [2345]
stop on runlevel [!2345]
chdir /srv/gitit
exec /usr/bin/gitit -f /etc/gitit.conf
I created an init script for my gitit instance, which I designed to be easily usable to run multiple wikis. Please find it attached here.
It expects configuration files in /etc/gitit named NNN.config, where NNN is a configuration key specified in the init script. The actual wiki files are stored under /srv/wiki/NNN, and all references to the folders have been changed to absolute paths in the configuration file.
Activity
sukima commentedon Aug 17, 2012
+1
http://code.google.com/p/gitit/issues/detail?id=55 seems promising.
heyakyra commentedon Mar 13, 2013
Is this a duplicate of #198
gallafent commentedon Feb 21, 2014
An upstart entry for gitit is extremely simple to achieve (I realise this doesn't address the FreeBSD rc.d question, but it does fulfil this need for systems running upstart, such as ubuntu) … for example:
mdreier commentedon Sep 1, 2016
I created an init script for my gitit instance, which I designed to be easily usable to run multiple wikis. Please find it attached here.
It expects configuration files in /etc/gitit named NNN.config, where NNN is a configuration key specified in the init script. The actual wiki files are stored under /srv/wiki/NNN, and all references to the folders have been changed to absolute paths in the configuration file.