aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclarkzjw <[email protected]>2023-01-09 16:38:12 -0800
committerclarkzjw <[email protected]>2023-01-09 16:38:12 -0800
commit6689b3ce97a04f23e2d033e161c4a3a80b78b9e1 (patch)
tree8435e68a54555643781e8c39c3645398ceed1a4f /dot_config/systemd
parentbf04b04a26c3003cdfebd0a95adef12ab9f116cd (diff)
downloaddotfiles-6689b3ce97a04f23e2d033e161c4a3a80b78b9e1.tar.gz
systemd: add weylus
Diffstat (limited to 'dot_config/systemd')
-rw-r--r--dot_config/systemd/user/eos-update-notifier.service10
-rw-r--r--dot_config/systemd/user/eos-update-notifier.timer11
-rw-r--r--dot_config/systemd/user/multi-user.target.wants/symlink_weylus.service1
-rw-r--r--dot_config/systemd/user/protonvpn_reconnect.service8
-rw-r--r--dot_config/systemd/user/timers.target.wants/symlink_eos-update-notifier.timer1
-rw-r--r--dot_config/systemd/user/weylus.service8
6 files changed, 39 insertions, 0 deletions
diff --git a/dot_config/systemd/user/eos-update-notifier.service b/dot_config/systemd/user/eos-update-notifier.service
new file mode 100644
index 0000000..a052a86
--- /dev/null
+++ b/dot_config/systemd/user/eos-update-notifier.service
@@ -0,0 +1,10 @@
1[Unit]
2Description=EOS update notifier service
3
4[Service]
5Type=oneshot
6Environment=DISPLAY=:0
7ExecStart=/usr/bin/eos-update-notifier -systemd
8
9[Install]
10WantedBy=eos-update-notifier.timer
diff --git a/dot_config/systemd/user/eos-update-notifier.timer b/dot_config/systemd/user/eos-update-notifier.timer
new file mode 100644
index 0000000..7b4f365
--- /dev/null
+++ b/dot_config/systemd/user/eos-update-notifier.timer
@@ -0,0 +1,11 @@
1[Unit]
2Description=EOS update notifier runs periodically (weekly) and soon after a reboot
3
4[Timer]
5Persistent=false
6OnStartupSec=300 seconds
7OnCalendar=weekly
8# Persistent=true
9
10[Install]
11WantedBy=timers.target
diff --git a/dot_config/systemd/user/multi-user.target.wants/symlink_weylus.service b/dot_config/systemd/user/multi-user.target.wants/symlink_weylus.service
new file mode 100644
index 0000000..8190cc5
--- /dev/null
+++ b/dot_config/systemd/user/multi-user.target.wants/symlink_weylus.service
@@ -0,0 +1 @@
/home/clarkzjw/.config/systemd/user/weylus.service
diff --git a/dot_config/systemd/user/protonvpn_reconnect.service b/dot_config/systemd/user/protonvpn_reconnect.service
new file mode 100644
index 0000000..fc500d9
--- /dev/null
+++ b/dot_config/systemd/user/protonvpn_reconnect.service
@@ -0,0 +1,8 @@
1
2# v3.14.0
3
4[Unit]
5Description=Proton VPN Reconnector
6
7[Service]
8ExecStart=/usr/bin/python /usr/lib/python3.10/site-packages/protonvpn_nm_lib/daemon/dbus_daemon_reconnector.py
diff --git a/dot_config/systemd/user/timers.target.wants/symlink_eos-update-notifier.timer b/dot_config/systemd/user/timers.target.wants/symlink_eos-update-notifier.timer
new file mode 100644
index 0000000..92a752d
--- /dev/null
+++ b/dot_config/systemd/user/timers.target.wants/symlink_eos-update-notifier.timer
@@ -0,0 +1 @@
/home/clarkzjw/.config/systemd/user/eos-update-notifier.timer
diff --git a/dot_config/systemd/user/weylus.service b/dot_config/systemd/user/weylus.service
new file mode 100644
index 0000000..b65113e
--- /dev/null
+++ b/dot_config/systemd/user/weylus.service
@@ -0,0 +1,8 @@
1[Unit]
2Description=Weylus
3
4[Install]
5WantedBy=multi-user.target
6
7[Service]
8ExecStart=/usr/bin/weylus --no-gui --auto-start --access-code 2013zjw@nju --web-port 1702 --websocket-port 9001
Powered by cgit v1.2.3 (git 2.41.0)