Add auto-release
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=Auto-release omarchy-pkgs for edge mirror
|
||||
After=network-online.target omarchy-check-upstream.service
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/root/omarchy-pkgs/bin/auto-release edge
|
||||
Environment=OMARCHY_STATE_DIR=/root/.state
|
||||
TimeoutStartSec=3600
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Process omarchy-pkgs sync for edge mirror
|
||||
|
||||
[Timer]
|
||||
# Run 30 minutes after the upstream check
|
||||
OnCalendar=*-*-* 15:00:00 America/New_York
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
@@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=Auto-release omarchy-pkgs for stable mirror
|
||||
After=network-online.target omarchy-check-upstream.service
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/root/omarchy-pkgs/bin/auto-release stable
|
||||
Environment=OMARCHY_STATE_DIR=/root/.state
|
||||
TimeoutStartSec=3600
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Process omarchy-pkgs sync for stable mirror
|
||||
|
||||
[Timer]
|
||||
# Run 1 hour after the upstream check (after edge has completed)
|
||||
OnCalendar=*-*-* 15:00:00 America/New_York
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
@@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=Check for upstream changes in omarchy-pkgs repository
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/root/omarchy-pkgs/bin/check-upstream
|
||||
Environment=OMARCHY_PKGS_DIR=/root/omarchy-pkgs
|
||||
Environment=OMARCHY_STATE_DIR=/root/.state
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Daily check for upstream changes in omarchy-pkgs
|
||||
|
||||
[Timer]
|
||||
OnCalendar=*-*-* 14:00:00 America/New_York
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
Reference in New Issue
Block a user