From b4d8a4de77a511a13ce2b1294370a630e8df37d2 Mon Sep 17 00:00:00 2001 From: maks1ms Date: Sat, 4 Jan 2025 09:01:00 +0000 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20yandex-disk.service?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yandex-disk.service | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 yandex-disk.service diff --git a/yandex-disk.service b/yandex-disk.service new file mode 100644 index 0000000..80972bf --- /dev/null +++ b/yandex-disk.service @@ -0,0 +1,13 @@ +[Unit] +Description=Yandex-Disk service +After=local-fs.target network.target + +[Service] +Type=forking +ExecStart=/usr/bin/yandex-disk start -c %h/.config/yandex-disk/config.cfg +ExecReload=/usr/bin/killall -qw yandex-disk +RestartSec=30 +Restart=always + +[Install] +WantedBy=default.target