aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/himalaya/.config/systemd
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2023-03-22 22:36:23 -0500
committerToby Vincent <tobyv13@gmail.com>2023-03-22 22:36:23 -0500
commit61f975e680e0ef83464648af51a3396b356fc992 (patch)
treed484ca81378556772b784e52f9e943255f7fcfc0 /himalaya/.config/systemd
parenteb1345e1afbcb518ab81d301d9f7ba11a72f806c (diff)
feat: add himalaya
Diffstat (limited to 'himalaya/.config/systemd')
-rw-r--r--himalaya/.config/systemd/user/himalaya-watch.service12
-rw-r--r--himalaya/.config/systemd/user/himalaya.service11
2 files changed, 23 insertions, 0 deletions
diff --git a/himalaya/.config/systemd/user/himalaya-watch.service b/himalaya/.config/systemd/user/himalaya-watch.service
new file mode 100644
index 0000000..043d6ac
--- /dev/null
+++ b/himalaya/.config/systemd/user/himalaya-watch.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Himalaya watcher
+After=network.target gpg-agent.service
+
+[Service]
+ExecStart=himalaya watch
+Environment=RUST_LOG=debug
+Restart=always
+RestartSec=10
+
+[Install]
+WantedBy=default.target
diff --git a/himalaya/.config/systemd/user/himalaya.service b/himalaya/.config/systemd/user/himalaya.service
new file mode 100644
index 0000000..1f52e83
--- /dev/null
+++ b/himalaya/.config/systemd/user/himalaya.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Himalaya new messages notifier
+After=network.target gpg-agent.service
+
+[Service]
+ExecStart=himalaya notify
+Restart=always
+RestartSec=10
+
+[Install]
+WantedBy=default.target