add systemd integration example

This commit is contained in:
Yatao Li
2022-02-13 19:05:13 +08:00
parent 8fa34da02f
commit 1813bf505c
7 changed files with 130 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
#!/bin/bash
set -e
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
echo "Update index: Files"
source ${__dir}/sist2-update-files.sh
echo "Update index: Nextcloud"
source ${__dir}/sist2-update-nextcloud.sh
echo "Done. Restarting sist2."
docker restart sist2-sist2-1