Files
felhom.eu/scripts/release-copy/felhom-release-copy.service
T

20 lines
595 B
Desktop File

# Versioned in felhom.eu/scripts/release-copy/ (D33, R-1227); installed by install.sh. Runbook: total-loss-of-dooplex.md.
[Unit]
Description=Felhom: copy the released images and agent packages to ep0 (D33)
Wants=network-online.target
After=network-online.target
OnFailure=felhom-backup-failmail@%n.service
[Service]
Type=oneshot
ExecStart=/usr/local/sbin/felhom-release-copy
UMask=0077
TimeoutStartSec=2h
Nice=10
IOSchedulingClass=idle
PrivateTmp=yes
ProtectSystem=strict
ProtectHome=yes
ReadWritePaths=/var/lib/felhom-release-copy /var/lib/node_exporter/textfile_collector
NoNewPrivileges=yes