mirror of
https://github.com/tomasriveral/vps-config.git
synced 2026-08-11 18:18:38 +02:00
fix syste4md service
This commit is contained in:
@@ -46,6 +46,11 @@ VIDEO_HOSTS = {
|
||||
"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():
|
||||
conn = sqlite3.connect(FRESHRSS_DB)
|
||||
|
||||
@@ -5,7 +5,9 @@ After=network-online.target
|
||||
[Service]
|
||||
Type=oneshot
|
||||
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
|
||||
StandardError=journal
|
||||
|
||||
Reference in New Issue
Block a user