summaryrefslogtreecommitdiffstatshomepage
path: root/himalaya/.config/systemd/user
diff options
context:
space:
mode:
Diffstat (limited to 'himalaya/.config/systemd/user')
-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