removed old themes

made hugo service restart on error
master
Kebler Network System Administrator 2021-11-24 08:03:12 -08:00
parent c56f3caf49
commit 7e44347594
5 changed files with 17 additions and 10 deletions

6
.gitmodules vendored
View File

@ -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

15
sites/example Normal file
View File

@ -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" # /<name> 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 <DATA_DIR>/<name>
# DEPLOY_DIR = "/some/absolute/path" # if you prefer some place else
DEPLOY_URL="https://www.gpccaor.org/" # the url used by the webserver

View File

@ -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

@ -1 +0,0 @@
Subproject commit f90fc83b769112bd87cec5a879e7f431d3415026

@ -1 +0,0 @@
Subproject commit f6217a6abcd61f08899d3bbb291b3018e567e67c