fix(papra): show service logs on startup failure

This commit is contained in:
CanbiZ (MickLesk) 2026-01-21 16:41:25 +01:00
parent 0481d5ccf7
commit 7867b62647

View File

@ -93,9 +93,13 @@ RestartSec=10
WantedBy=multi-user.target
EOF
systemctl enable -q --now papra
systemctl enable -q papra
if ! systemctl start papra; then
msg_warn "Service failed to start, checking logs..."
journalctl -u papra --no-pager -n 20 || true
fi
echo "${RELEASE}" >/opt/Papra_version.txt
msg_ok "Created and Started Papra Service"
msg_ok "Created Papra Service"
motd_ssh
customize