diff --git a/.gitmodules b/.gitmodules index e95f51f..e69de29 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +0,0 @@ -[submodule "themes/uci-doc"] - path = themes/uci-doc - url = https://github.com/thegeeklab/hugo-geekdoc.githttps://git.kebler.net/UCOMmandIt/uci-doc.git -[submodule "themes/uci-shortcodes"] - path = themes/uci-shortcodes - url = https://git.kebler.net/UCOMmandIt/uci-shortcodes.git diff --git a/sites/example b/sites/example new file mode 100644 index 0000000..0fb8333 --- /dev/null +++ b/sites/example @@ -0,0 +1,15 @@ +# defaults shown. uncomment and edit for your site +# port for draft server +PORT="xxxxx" +# parent directory of where site files should be stored. +DATA_DIR="/data" # / site name is added to this path +DATA_SUB_DIR="files" # within this directory where the hugo site files are +# if using reverse proxy (like caddy) port will not be appended to base url +REVERSE_PROXY=true # default is false +# be sure to use https if site is being served such, e.g. using Caddy. +# Must set base url for assests to be served correctly +BASE_URL="https://draft.example.org" # using reverse proxy +# BASE_URL="http://draft.example.org:xxxxxx" # no reverse proxy +# default build direct is deploy/ in / +# DEPLOY_DIR = "/some/absolute/path" # if you prefer some place else +DEPLOY_URL="https://www.gpccaor.org/" # the url used by the webserver diff --git a/systemd/hugo@.service b/systemd/hugo@.service index dd1081d..6e8c6ea 100644 --- a/systemd/hugo@.service +++ b/systemd/hugo@.service @@ -11,8 +11,8 @@ After=mnt-data.mount Group=sysadmin Type=simple ExecStart=/bin/bash /opt/hugo/run %i -# Restart=on-failure -# RestartSec=3 +Restart=on-failure +RestartSec=5 [Install] WantedBy=default.target diff --git a/themes/uci-doc b/themes/uci-doc deleted file mode 160000 index f90fc83..0000000 --- a/themes/uci-doc +++ /dev/null @@ -1 +0,0 @@ -Subproject commit f90fc83b769112bd87cec5a879e7f431d3415026 diff --git a/themes/uci-shortcodes b/themes/uci-shortcodes deleted file mode 160000 index f6217a6..0000000 --- a/themes/uci-shortcodes +++ /dev/null @@ -1 +0,0 @@ -Subproject commit f6217a6abcd61f08899d3bbb291b3018e567e67c