How to setup Proxmox to use Keycloak as authentication realm.
root@proxmox:/etc/pve# cat domains.cfg
pam: pam
comment Linux PAM standard authenticationThe following is a quick guide on getting basic status LED functionality working with TrueNAS running on the UGREEN DXP4800 Plus. Theoretically, it should work on all models (with some small revisions to the script), but I only have a DXP4800 Plus. :)
This guide is for cron job that runs a script to update the LEDs every couple minutes, but I'm sure the following can be modified for blinky LEDs as well.
| #!/bin/bash | |
| # DHCP Lease Extractor Script | |
| # Extrahiert statische Leases aus dhcpd.conf und schreibt sie in eine CSV-Datei | |
| # Standardpfade | |
| DHCPD_CONF="/etc/dhcp/dhcpd.conf" | |
| OUTPUT_CSV="dhcp_leases.csv" | |
| # Funktion zur Anzeige der Hilfe |
| #!/bin/bash | |
| echo "Creating gitea backup inside docker containter ..." | |
| docker exec -u git -it -w /tmp $(docker ps -qf "name=gitea_prod") bash -c '/app/gitea/gitea dump -c /data/gitea/conf/app.ini --file /tmp/gitea-dump.zip' | |
| echo "Copying backup file from the container to the host machine ..." | |
| docker cp $(docker ps -qf "name=gitea_prod"):/tmp/gitea-dump.zip /var/backups/GiteaBackup/ | |
| echo "Removing backup file in container ..." | |
| docker exec -u git -it -w /tmp $(docker ps -qf "name=gitea_prod") bash -c 'rm /tmp/gitea-dump.zip' |
Save these files as ~/.config/systemd/user/some-service-name.*
Run this now and after any modifications: systemctl --user daemon-reload
Try out the service (oneshot): systemctl --user start some-service-name
Check logs if something is wrong: journalctl -u --user-unit some-service-name
Start the timer after this user logs in: systemctl --user enable --now some-service-name.timer