summaryrefslogtreecommitdiffstats
path: root/.config/systemd/user
diff options
context:
space:
mode:
Diffstat (limited to '.config/systemd/user')
l---------.config/systemd/user/default.target.wants/ledsoff.service1
-rw-r--r--.config/systemd/user/ledsoff.service9
-rw-r--r--.config/systemd/user/nextcloud-sync.service8
-rw-r--r--.config/systemd/user/nextcloud-sync.timer10
l---------.config/systemd/user/timers.target.wants/borgmatic-user.timer1
l---------.config/systemd/user/timers.target.wants/nextcloud-sync.timer1
l---------.config/systemd/user/timers.target.wants/yt-dlp.timer1
-rw-r--r--.config/systemd/user/yt-dlp.service9
-rw-r--r--.config/systemd/user/yt-dlp.timer10
9 files changed, 50 insertions, 0 deletions
diff --git a/.config/systemd/user/default.target.wants/ledsoff.service b/.config/systemd/user/default.target.wants/ledsoff.service
new file mode 120000
index 0000000..fe8c928
--- /dev/null
+++ b/.config/systemd/user/default.target.wants/ledsoff.service
@@ -0,0 +1 @@
+/home/justin/.config/systemd/user/ledsoff.service \ No newline at end of file
diff --git a/.config/systemd/user/ledsoff.service b/.config/systemd/user/ledsoff.service
new file mode 100644
index 0000000..ed3c77d
--- /dev/null
+++ b/.config/systemd/user/ledsoff.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Turn various LEDs off on startup
+
+[Service]
+Type=oneshot
+ExecStart=/home/justin/.local/bin/ledsoff
+
+[Install]
+WantedBy=default.target
diff --git a/.config/systemd/user/nextcloud-sync.service b/.config/systemd/user/nextcloud-sync.service
new file mode 100644
index 0000000..48522a9
--- /dev/null
+++ b/.config/systemd/user/nextcloud-sync.service
@@ -0,0 +1,8 @@
+[Unit]
+Description=Sync with Nextcloud
+Wants=network-online.target
+After=network-online.target
+
+[Service]
+Type=oneshot
+ExecStart=/home/justin/.local/bin/jxir-cloud-sync
diff --git a/.config/systemd/user/nextcloud-sync.timer b/.config/systemd/user/nextcloud-sync.timer
new file mode 100644
index 0000000..ee174d7
--- /dev/null
+++ b/.config/systemd/user/nextcloud-sync.timer
@@ -0,0 +1,10 @@
+[Unit]
+Description=Sync with Nextcloud every hour
+
+[Timer]
+OnCalendar=hourly
+RandomizedDelaySec=5min
+Persistent=true
+
+[Install]
+WantedBy=timers.target
diff --git a/.config/systemd/user/timers.target.wants/borgmatic-user.timer b/.config/systemd/user/timers.target.wants/borgmatic-user.timer
new file mode 120000
index 0000000..f4e0b9f
--- /dev/null
+++ b/.config/systemd/user/timers.target.wants/borgmatic-user.timer
@@ -0,0 +1 @@
+/usr/lib/systemd/user/borgmatic-user.timer \ No newline at end of file
diff --git a/.config/systemd/user/timers.target.wants/nextcloud-sync.timer b/.config/systemd/user/timers.target.wants/nextcloud-sync.timer
new file mode 120000
index 0000000..017a827
--- /dev/null
+++ b/.config/systemd/user/timers.target.wants/nextcloud-sync.timer
@@ -0,0 +1 @@
+/home/justin/.config/systemd/user/nextcloud-sync.timer \ No newline at end of file
diff --git a/.config/systemd/user/timers.target.wants/yt-dlp.timer b/.config/systemd/user/timers.target.wants/yt-dlp.timer
new file mode 120000
index 0000000..4aa2266
--- /dev/null
+++ b/.config/systemd/user/timers.target.wants/yt-dlp.timer
@@ -0,0 +1 @@
+/home/justin/.config/systemd/user/yt-dlp.timer \ No newline at end of file
diff --git a/.config/systemd/user/yt-dlp.service b/.config/systemd/user/yt-dlp.service
new file mode 100644
index 0000000..8d8d66c
--- /dev/null
+++ b/.config/systemd/user/yt-dlp.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Download new YouTube videos
+Wants=network-online.target
+After=network-online.target
+
+[Service]
+Type=oneshot
+ExecStart=/home/justin/videos/youtube/download
+ExecStart=/home/justin/videos/gabi-fastner/download
diff --git a/.config/systemd/user/yt-dlp.timer b/.config/systemd/user/yt-dlp.timer
new file mode 100644
index 0000000..34329cb
--- /dev/null
+++ b/.config/systemd/user/yt-dlp.timer
@@ -0,0 +1,10 @@
+[Unit]
+Description=Download new YouTube videos hourly
+
+[Timer]
+OnCalendar=00/1:00
+RandomizedDelaySec=10min
+Persistent=true
+
+[Install]
+WantedBy=timers.target