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