commit e8b80030984be6eb0621f998d970c075a45466e5 from: Omar Polo date: Sun Jul 11 15:44:44 2021 UTC add an example systemd unit file commit - e2d3a8f2220ffc04472c552e69749b2f75f03778 commit + e8b80030984be6eb0621f998d970c075a45466e5 blob - 1457ba5b6b5c89b1c7259fbdc45956112deecc0e blob + be29c44d046d1df2741682246c5e545bdcd5e88e --- contrib/README +++ contrib/README @@ -1,6 +1,12 @@ -This directory is for additional contributed files which may be useful. +This directory is for additional contributed files which may be +useful. +gmid.service + + Simple systemd service file. + vim Syntax highlighting of gmid configuration for vim, to be placed into ~/.vim/ or /usr/share/vim/vimfiles. + blob - /dev/null blob + 3aedb92d466ff305c83b92f5da424d3991ad20e3 (mode 644) --- /dev/null +++ contrib/gmid.service @@ -0,0 +1,14 @@ +[Unit] +Description=The gmid Gemini server +After=syslog.target network.target +Wants=network-online.target + +[Service] +Type=forking +ExecStart=/usr/local/bin/gmid -c /etc/gmid.conf +# to start the daemon as a dedicated user: +#User=_gmid +#Group=_gmid + +[Install] +WantedBy=multi-user.target