Hello! Thank you for maintaining this AUR package. Could you please consider adding two improvements to the systemd service?
-
Environment Variables Support: Uptime Kuma supports many configurations via environment variables (documentation). It would be great if the service unit could include an
EnvironmentFile
option (e.g.,/etc/uptime-kuma/config.env
) so users can easily configure these settings. -
Auto-Backup Before Upgrade: use PKGBUILD backup variable to backup
/etc/uptime-kuma.env
file everytime when system upgrade.
Suggested service modification:
[Service]
...
EnvironmentFile=/etc/uptime-kuma/config.env
PKGBUILD modification:
backup=('etc/uptime-kuma/config.env')
Would you be open to these changes? Thank you for your consideration!
Pinned Comments
bgh commented on 2023-04-17 14:11 (UTC)
Note: a service restart may be required if the web interface is inaccessible after updating