chore(tower): systemd service + weekly timer

This commit is contained in:
Clément Saillant
2026-06-15 00:52:59 +02:00
parent 69e968a238
commit 47df147e7b
3 changed files with 29 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
[Unit]
Description=Lisael Box content push server (POST /register on :9555)
After=network-online.target
Wants=network-online.target
[Service]
ExecStart=/usr/bin/python3 /home/clems/lisael-content/lisael_server.py
Restart=always
RestartSec=5
User=clems
[Install]
WantedBy=multi-user.target
+7
View File
@@ -0,0 +1,7 @@
[Unit]
Description=Lisael Box podcast refresh (RSS -> staging)
[Service]
Type=oneshot
ExecStart=/usr/bin/python3 /home/clems/lisael-content/lisael_refresh.py
User=clems
+9
View File
@@ -0,0 +1,9 @@
[Unit]
Description=Weekly Lisael Box podcast refresh
[Timer]
OnCalendar=Sun 04:00
Persistent=true
[Install]
WantedBy=timers.target