Start über /sync/...
This commit is contained in:
1 parent
7ab62afd1c
commit
8b59aadc06
2 files changed
+3
-4
No files matched your search
+1
-2
@@ -1,10 +1,9 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Control daemon für browser / keepass Start
|
Description=KeepassXC runtime limiter
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStartPre=/bin/sleep 10
|
|
||||||
ExecStart=/sync/data/Linus/scripts/keepassctl.sh
|
ExecStart=/sync/data/Linus/scripts/keepassctl.sh
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -26,7 +26,7 @@ start_keepass()
|
|||||||
{
|
{
|
||||||
if keepass_missing; then
|
if keepass_missing; then
|
||||||
flatpak run org.keepassxc.KeePassXC --pw-stdin "$@" \
|
flatpak run org.keepassxc.KeePassXC --pw-stdin "$@" \
|
||||||
~/Nextcloud/data/Gemeinsam/keepass/LinusKeyPass.kdbx \
|
/sync/data/Gemeinsam/keepass/LinusKeyPass.kdbx \
|
||||||
< ~/.local/share/keepass >/dev/null 2>&1 &
|
< ~/.local/share/keepass >/dev/null 2>&1 &
|
||||||
fi
|
fi
|
||||||
touch "$RESTART"
|
touch "$RESTART"
|
||||||
@@ -56,7 +56,7 @@ fi
|
|||||||
#
|
#
|
||||||
readonly cntr="$LOGDIR"/cntr
|
readonly cntr="$LOGDIR"/cntr
|
||||||
readonly CYCLE_S=5
|
readonly CYCLE_S=5
|
||||||
readonly KEEPASS_TIME_S=600
|
readonly KEEPASS_TIME_S=3600
|
||||||
|
|
||||||
RESID_TIME_S=0;
|
RESID_TIME_S=0;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user