diff options
author | clarkzjw <[email protected]> | 2023-01-09 16:38:12 -0800 |
---|---|---|
committer | clarkzjw <[email protected]> | 2023-01-09 16:38:12 -0800 |
commit | 6689b3ce97a04f23e2d033e161c4a3a80b78b9e1 (patch) | |
tree | 8435e68a54555643781e8c39c3645398ceed1a4f /dot_config/systemd/user | |
parent | bf04b04a26c3003cdfebd0a95adef12ab9f116cd (diff) | |
download | dotfiles-6689b3ce97a04f23e2d033e161c4a3a80b78b9e1.tar.gz |
systemd: add weylus
Diffstat (limited to 'dot_config/systemd/user')
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] | ||
2 | Description=EOS update notifier service | ||
3 | |||
4 | [Service] | ||
5 | Type=oneshot | ||
6 | Environment=DISPLAY=:0 | ||
7 | ExecStart=/usr/bin/eos-update-notifier -systemd | ||
8 | |||
9 | [Install] | ||
10 | WantedBy=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] | ||
2 | Description=EOS update notifier runs periodically (weekly) and soon after a reboot | ||
3 | |||
4 | [Timer] | ||
5 | Persistent=false | ||
6 | OnStartupSec=300 seconds | ||
7 | OnCalendar=weekly | ||
8 | # Persistent=true | ||
9 | |||
10 | [Install] | ||
11 | WantedBy=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] | ||
5 | Description=Proton VPN Reconnector | ||
6 | |||
7 | [Service] | ||
8 | ExecStart=/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] | ||
2 | Description=Weylus | ||
3 | |||
4 | [Install] | ||
5 | WantedBy=multi-user.target | ||
6 | |||
7 | [Service] | ||
8 | ExecStart=/usr/bin/weylus --no-gui --auto-start --access-code 2013zjw@nju --web-port 1702 --websocket-port 9001 | ||