20250118.1737214138
This commit is contained in:
parent
da6c370616
commit
8c4e07134c
2 changed files with 10 additions and 2 deletions
|
@ -1,3 +1,5 @@
|
|||
from pathlib import Path
|
||||
|
||||
from promnesia.common import Source
|
||||
from promnesia.sources import auto, shellcmd
|
||||
|
||||
|
@ -31,5 +33,9 @@ SOURCES = [
|
|||
name="inbox",
|
||||
ignored=["*.html", "*.gpg"],
|
||||
),
|
||||
Source(shellcmd.index, ["linkding_promnesia.sh"], name="linkding"),
|
||||
Source(
|
||||
shellcmd.index,
|
||||
[f"{Path.home() / 'scripts/bin/linkding_promnesia.sh'}"],
|
||||
name="linkding",
|
||||
),
|
||||
]
|
||||
|
|
|
@ -5,3 +5,5 @@ Description=index promnesia
|
|||
ExecStart=/home/fz0x1/.local/share/pipx/venvs/promnesia/bin/promnesia index
|
||||
StandardOutput=append:/tmp/promnesia-index.log
|
||||
StandardError=append:/tmp/promnesia-index.err
|
||||
Restart=on-failure
|
||||
RestartSec=10
|
||||
|
|
Loading…
Add table
Reference in a new issue