202412291735476965

This commit is contained in:
fz0x1 2024-12-29 13:56:05 +01:00
parent a1cb7d1575
commit 681f02385c
7 changed files with 68 additions and 6 deletions

View file

@ -0,0 +1,9 @@
[Unit]
Description=Mailbox synchronization service
[Service]
Type=oneshot
ExecStart=/usr/bin/mbsync -Va
[Install]
WantedBy=default.target

View file

@ -0,0 +1,10 @@
[Unit]
Description=Mailbox synchronization timer
[Timer]
OnBootSec=2m
OnUnitActiveSec=5m
Unit=mbsync.service
[Install]
WantedBy=timers.target

View file

@ -0,0 +1,9 @@
[Unit]
Description=promnesia server
[Service]
ExecStart=/home/fz0x1/.local/share/pipx/venvs/promnesia/bin/promnesia serve
Restart=on-failure
[Install]
WantedBy=default.target

View file

@ -0,0 +1,7 @@
[Unit]
Description=index promnesia
[Service]
ExecStart=/home/fz0x1/.local/share/pipx/venvs/promnesia/bin/promnesia index
StandardOutput=append:/tmp/promnesia-index.log
StandardError=append:/tmp/promnesia-index.err

View file

@ -0,0 +1,9 @@
[Unit]
Description=Таймер для Promnesia Index
[Timer]
OnUnitActiveSec=60min
[Install]
WantedBy=timers.target