rename files
This commit is contained in:
parent
044bd6be71
commit
2edfd31eeb
@ -6,7 +6,7 @@ source <(curl -fsSL https://raw.githubusercontent.com/fstof/ProxmoxVED/refs/head
|
||||
# Source: https://github.com/donetick/donetick
|
||||
|
||||
# App Default Values
|
||||
APP="Donetick"
|
||||
APP="donetick"
|
||||
var_tags="${var_tags:-productivity;tasks}"
|
||||
var_cpu="${var_cpu:-2}"
|
||||
var_ram="${var_ram:-2048}"
|
||||
@ -18,7 +18,7 @@
|
||||
"install_methods": [
|
||||
{
|
||||
"type": "default",
|
||||
"script": "ct/Donetick.sh",
|
||||
"script": "ct/donetick.sh",
|
||||
"resources": {
|
||||
"cpu": 2,
|
||||
"ram": 2048,
|
||||
@ -21,7 +21,7 @@ $STD apt install -y \
|
||||
libc6-compat
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
msg_info "Setup Donetick"
|
||||
msg_info "Setup donetick"
|
||||
RELEASE=$(curl -fsSL https://api.github.com/repos/donetick/donetick/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
|
||||
|
||||
mkdir -p /opt/donetick
|
||||
@ -34,13 +34,13 @@ TOKEN=$(openssl rand -hex 16)
|
||||
sed -i -e "s/change_this_to_a_secure_random_string_32_characters_long/${TOKEN}/g" config/selfhosted.yaml
|
||||
|
||||
echo "${RELEASE}" > /opt/donetick/donetick_version.txt
|
||||
msg_ok "Setup Donetick"
|
||||
msg_ok "Setup donetick"
|
||||
|
||||
# Creating Service (if needed)
|
||||
msg_info "Creating Service"
|
||||
cat <<EOF >/etc/systemd/system/donetick.service
|
||||
[Unit]
|
||||
Description=Donetick Service
|
||||
Description=donetick Service
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Loading…
x
Reference in New Issue
Block a user