diff --git a/.config/systemd/user/crystal-dock.service b/.config/systemd/user/crystal-dock.service deleted file mode 100644 index a226de6..0000000 --- a/.config/systemd/user/crystal-dock.service +++ /dev/null @@ -1,9 +0,0 @@ -[Unit] -Description=Crystal Dock - -[Service] -Type=simple -TimeoutStartSec=1 -ExecStart=crystal-dock -[Install] -WantedBy=default.target diff --git a/.config/systemd/user/default.target.wants/librewolf-sync.service b/.config/systemd/user/default.target.wants/librewolf-sync.service new file mode 120000 index 0000000..187b913 --- /dev/null +++ b/.config/systemd/user/default.target.wants/librewolf-sync.service @@ -0,0 +1 @@ +/usr/lib/systemd/user/librewolf-sync.service \ No newline at end of file diff --git a/.config/systemd/user/default.target.wants/nextcloud.service b/.config/systemd/user/default.target.wants/nextcloud.service new file mode 120000 index 0000000..cbc8a41 --- /dev/null +++ b/.config/systemd/user/default.target.wants/nextcloud.service @@ -0,0 +1 @@ +/home/tymur999/.config/systemd/user/nextcloud.service \ No newline at end of file diff --git a/.config/systemd/user/librewolf-sync-cron.service.d/override.conf b/.config/systemd/user/librewolf-sync-cron.service.d/override.conf new file mode 100644 index 0000000..bed93ee --- /dev/null +++ b/.config/systemd/user/librewolf-sync-cron.service.d/override.conf @@ -0,0 +1,4 @@ +[Service] + +ExecStart= +ExecStart=/usr/bin/librewolf-sync -p sync.default diff --git a/.config/systemd/user/librewolf-sync-cron.timer.d/override.conf b/.config/systemd/user/librewolf-sync-cron.timer.d/override.conf new file mode 100644 index 0000000..e499b85 --- /dev/null +++ b/.config/systemd/user/librewolf-sync-cron.timer.d/override.conf @@ -0,0 +1,5 @@ +[Timer] +OnBootSec= +OnUnitActiveSec= +OnBootSec=10m +OnUnitActiveSec=1h diff --git a/.config/systemd/user/librewolf-sync.service.d/librewolf-sync-override.conf b/.config/systemd/user/librewolf-sync.service.d/librewolf-sync-override.conf new file mode 100644 index 0000000..3f14c62 --- /dev/null +++ b/.config/systemd/user/librewolf-sync.service.d/librewolf-sync-override.conf @@ -0,0 +1,5 @@ +[Service] +ExecStart= +ExecStart=/usr/bin/librewolf-sync -p sync.default +ExecStop= +ExecStop=/usr/bin/librewolf-sync -p sync.default diff --git a/.config/systemd/user/nextcloud.service b/.config/systemd/user/nextcloud.service new file mode 100644 index 0000000..5928c7b --- /dev/null +++ b/.config/systemd/user/nextcloud.service @@ -0,0 +1,13 @@ +[Unit] +Description=Nextcloud +Wants=graphical-session.target +StartLimitIntervalSec=3 +StartLimitBurst=10 + +[Service] +TimeoutStartSec=1 +ExecStart=nextcloud +Restart=on-failure + +[Install] +WantedBy=default.target diff --git a/.config/systemd/user/timers.target.wants/librewolf-sync-cron.timer b/.config/systemd/user/timers.target.wants/librewolf-sync-cron.timer new file mode 120000 index 0000000..103fbb0 --- /dev/null +++ b/.config/systemd/user/timers.target.wants/librewolf-sync-cron.timer @@ -0,0 +1 @@ +/usr/lib/systemd/user/librewolf-sync-cron.timer \ No newline at end of file