summaryrefslogtreecommitdiffstats
path: root/mkosi.postinst
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2019-11-12 09:33:48 +0100
committerDennis Eriksen <d@ennis.no>2019-11-12 09:33:48 +0100
commitb73ece366bbbb1c7b84ba18dc0afb48bb2040d9a (patch)
tree81136a850a2b27be25d1263a5542956bc3b38401 /mkosi.postinst
parentmoving from mkosi.skeleton to mkosi.extra (diff)
downloadmkosi-kanboard-b73ece366bbbb1c7b84ba18dc0afb48bb2040d9a.tar.gz
added systemd-timer to enable kanboard cronjobs
Diffstat (limited to 'mkosi.postinst')
-rwxr-xr-xmkosi.postinst4
1 files changed, 4 insertions, 0 deletions
diff --git a/mkosi.postinst b/mkosi.postinst
index 34bdbd2..e882836 100755
--- a/mkosi.postinst
+++ b/mkosi.postinst
@@ -14,6 +14,7 @@ locale-gen
# get kanboard
url='https://github.com/kanboard/kanboard/archive/v1.2.12.tar.gz'
+# extract and install kanboard
TMP=$(mktemp -d)
cd $TMP
wget "${url}"
@@ -25,7 +26,10 @@ chown -R www-data: /var/www/kanboard
rm -r /var/www/kanboard/data
rm -r /var/www/kanboard/plugins
+# enable kanboards cron-service
+systemctl enable kanboard.timer
+# fix apache-config
a2dissite 000-default.conf
a2enmod rewrite
a2ensite kanboard.conf