Remove extend_pins (superseded by wyby sync)
- wyby sync covers all its cases with better data (actual booking dates instead of +-15 min window derivation) and faster reaction (15 min vs 1 h) - parse_ts moved into wyby_sync; skip logging extracted to Sync.log_skips - deploy installs only wyby-sync units
This commit is contained in:
+1
-3
@@ -21,13 +21,11 @@ fi
|
||||
|
||||
# systemd-Units installieren
|
||||
sudo install -m 644 \
|
||||
"$REPO_DIR/deploy/glutz-maintenances.service" \
|
||||
"$REPO_DIR/deploy/glutz-maintenances.timer" \
|
||||
"$REPO_DIR/deploy/wyby-sync.service" \
|
||||
"$REPO_DIR/deploy/wyby-sync.timer" \
|
||||
/etc/systemd/system/
|
||||
sudo systemctl daemon-reload
|
||||
sudo systemctl enable --now glutz-maintenances.timer wyby-sync.timer
|
||||
sudo systemctl enable --now wyby-sync.timer
|
||||
|
||||
echo
|
||||
systemctl list-timers glutz-maintenances.timer --no-pager
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
[Unit]
|
||||
Description=glutz-maintenances — wyby-Buchungs-PINs auf tageweise Gueltigkeit erweitern
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
User=apps
|
||||
Group=users
|
||||
WorkingDirectory=/home/apps/glutz-maintenances
|
||||
ExecStart=/usr/bin/python3 /home/apps/glutz-maintenances/extend_pins.py --apply
|
||||
SyslogIdentifier=glutz-maintenances
|
||||
NoNewPrivileges=true
|
||||
ProtectSystem=full
|
||||
ProtectHome=read-only
|
||||
PrivateTmp=true
|
||||
@@ -1,10 +0,0 @@
|
||||
[Unit]
|
||||
Description=Stuendlicher Lauf von glutz-maintenances (05:40 bis 23:40)
|
||||
|
||||
[Timer]
|
||||
OnCalendar=*-*-* 05..23:40:00
|
||||
Persistent=true
|
||||
Unit=glutz-maintenances.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
Reference in New Issue
Block a user