202412291735476965
This commit is contained in:
parent
a1cb7d1575
commit
681f02385c
7 changed files with 68 additions and 6 deletions
9
linux/.config/systemd/user/mbsync.service
Normal file
9
linux/.config/systemd/user/mbsync.service
Normal file
|
@ -0,0 +1,9 @@
|
|||
[Unit]
|
||||
Description=Mailbox synchronization service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/mbsync -Va
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
10
linux/.config/systemd/user/mbsync.timer
Normal file
10
linux/.config/systemd/user/mbsync.timer
Normal file
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=Mailbox synchronization timer
|
||||
|
||||
[Timer]
|
||||
OnBootSec=2m
|
||||
OnUnitActiveSec=5m
|
||||
Unit=mbsync.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
9
linux/.config/systemd/user/promnesia.service
Normal file
9
linux/.config/systemd/user/promnesia.service
Normal 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
|
7
linux/.config/systemd/user/promnesia_index.service
Normal file
7
linux/.config/systemd/user/promnesia_index.service
Normal 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
|
9
linux/.config/systemd/user/promnesia_index.timer
Normal file
9
linux/.config/systemd/user/promnesia_index.timer
Normal file
|
@ -0,0 +1,9 @@
|
|||
[Unit]
|
||||
Description=Таймер для Promnesia Index
|
||||
|
||||
[Timer]
|
||||
OnUnitActiveSec=60min
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue