Files
ProxmoxVE/install/vikunja-install.sh
T

28 lines
863 B
Bash
Raw Normal View History

2024-11-05 23:57:28 +01:00
#!/usr/bin/env bash
# Copyright (c) 2021-2026 community-scripts ORG
2026-01-29 10:58:41 +01:00
# Author: MickLesk (Canbiz) | Co-Author: CrazyWolf13
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://vikunja.io/ | Github: https://github.com/go-vikunja/vikunja
2024-11-05 23:57:28 +01:00
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
2024-11-05 23:57:28 +01:00
color
verb_ip6
catch_errors
setting_up_container
network_check
update_os
fetch_and_deploy_gh_release "vikunja" "go-vikunja/vikunja" "binary" "latest" "" "vikunja-*-$(arch_resolve "x86_64" "aarch64").deb"
2024-11-05 23:57:28 +01:00
2026-01-29 10:58:41 +01:00
msg_info "Setting up Vikunja"
sed -i 's|^# \(service:\)|\1|' /etc/vikunja/config.yml
sed -i "s|^ # \(publicurl: \).*| \1\"http://$LOCAL_IP\"|" /etc/vikunja/config.yml
sed -i "0,/^ # \(timezone: \).*/s|| \1${tz}|" /etc/vikunja/config.yml
systemctl enable -q --now vikunja
msg_ok "Set up Vikunja"
2024-11-05 23:57:28 +01:00
motd_ssh
customize
cleanup_lxc