summaryrefslogtreecommitdiff
path: root/arch/witryna.install
diff options
context:
space:
mode:
Diffstat (limited to 'arch/witryna.install')
-rw-r--r--arch/witryna.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/witryna.install b/arch/witryna.install
new file mode 100644
index 0000000..00199e0
--- /dev/null
+++ b/arch/witryna.install
@@ -0,0 +1,15 @@
+post_install() {
+ echo '==> Witryna has been installed.'
+ echo ' 1. Edit /etc/witryna/witryna.toml'
+ echo ' 2. Configure your container runtime:'
+ echo ' Podman: cp /usr/share/doc/witryna/examples/systemd/podman.conf \'
+ echo ' /etc/systemd/system/witryna.service.d/10-runtime.conf'
+ echo ' Docker: cp /usr/share/doc/witryna/examples/systemd/docker.conf \'
+ echo ' /etc/systemd/system/witryna.service.d/10-runtime.conf'
+ echo ' 3. systemctl daemon-reload && systemctl enable --now witryna'
+ echo ' See man witryna(1) and man witryna.toml(5) for documentation.'
+}
+
+post_upgrade() {
+ :
+}