From 392c0ee06a78eb4416db5896a507600398b24f51 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Sun, 20 Apr 2025 05:05:38 +0200 Subject: [PATCH] Fix. --- bookworm/copy/catgirl/etc/systemd/system/catgirl.service | 2 +- .../catgirl/home/plom/.local/bin/encrypt_catgirl_logs | 2 +- .../copy/seedbox/etc/systemd/system/rtorrent.service | 9 ++++----- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/bookworm/copy/catgirl/etc/systemd/system/catgirl.service b/bookworm/copy/catgirl/etc/systemd/system/catgirl.service index 38d9fd1..641b09a 100644 --- a/bookworm/copy/catgirl/etc/systemd/system/catgirl.service +++ b/bookworm/copy/catgirl/etc/systemd/system/catgirl.service @@ -1,5 +1,5 @@ [Unit] -Description=catgirl in tmux Session +Description=catgirl in tmux session After=network.target [Service] diff --git a/bookworm/copy/catgirl/home/plom/.local/bin/encrypt_catgirl_logs b/bookworm/copy/catgirl/home/plom/.local/bin/encrypt_catgirl_logs index e6da887..5af0b03 100755 --- a/bookworm/copy/catgirl/home/plom/.local/bin/encrypt_catgirl_logs +++ b/bookworm/copy/catgirl/home/plom/.local/bin/encrypt_catgirl_logs @@ -5,7 +5,7 @@ cd $(dirname "$0") expect_n_args 0 0 '' -PATH_LOGS="${HOME}/.local/share/log" +PATH_LOGS="${HOME}/.local/share/catgirl/log" PATH_ENCRYPTED_LOGS="${HOME}/logs_encrypted" PATH_ENCRYPTION_KEY="${HOME}/.plomlib/encrypt_with.pub" diff --git a/bookworm/copy/seedbox/etc/systemd/system/rtorrent.service b/bookworm/copy/seedbox/etc/systemd/system/rtorrent.service index 9b98821..a8a91f3 100644 --- a/bookworm/copy/seedbox/etc/systemd/system/rtorrent.service +++ b/bookworm/copy/seedbox/etc/systemd/system/rtorrent.service @@ -1,17 +1,16 @@ [Unit] -Description=rtorrent session +Description=rtorrent in tmux session After=network.target [Service] -Type=simple +Type=forking User=plom -Group=plom WorkingDirectory=/home/plom ExecStartPre=-/bin/rm -f /home/plom/session/rtorrent.lock ExecStart=/usr/bin/tmux new-session -d -s rtorrent_tmux /usr/bin/rtorrent ExecStop=/usr/bin/tmux kill-session -t rtorrent_tmux -Restart=on-failure -RestartSec=3 +Restart=always +RestartSec=10 [Install] WantedBy=multi-user.target -- 2.30.2