mirror of
https://github.com/tomasriveral/vps-config.git
synced 2026-08-12 02:28:38 +02:00
fix syste4md service
This commit is contained in:
@@ -46,6 +46,11 @@ VIDEO_HOSTS = {
|
|||||||
"www.dailymotion.com",
|
"www.dailymotion.com",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
print("=== FreshRSS archiver starting ===")
|
||||||
|
print("Working directory:", os.getcwd())
|
||||||
|
print("Python:", os.sys.executable)
|
||||||
|
print("FreshRSS DB:", FRESHRSS_DB)
|
||||||
|
print("Archive index:", ARCHIVE_INDEX)
|
||||||
|
|
||||||
def get_favorites():
|
def get_favorites():
|
||||||
conn = sqlite3.connect(FRESHRSS_DB)
|
conn = sqlite3.connect(FRESHRSS_DB)
|
||||||
|
|||||||
@@ -5,7 +5,9 @@ After=network-online.target
|
|||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
WorkingDirectory=/home/tomasr/vps-config
|
WorkingDirectory=/home/tomasr/vps-config
|
||||||
ExecStart=/usr/bin/python3 /home/tomasr/vps-config/freshrss-fav-archiver.py
|
User=tomasr
|
||||||
|
|
||||||
|
ExecStart=/usr/bin/python3 -u /home/tomasr/vps-config/freshrss-fav-archiver.py
|
||||||
|
|
||||||
StandardOutput=journal
|
StandardOutput=journal
|
||||||
StandardError=journal
|
StandardError=journal
|
||||||
|
|||||||
Reference in New Issue
Block a user