aboutsummaryrefslogtreecommitdiff
path: root/.config/systemd/user/firefox.service
diff options
context:
space:
mode:
Diffstat (limited to '.config/systemd/user/firefox.service')
-rw-r--r--.config/systemd/user/firefox.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/.config/systemd/user/firefox.service b/.config/systemd/user/firefox.service
new file mode 100644
index 0000000..869d1bd
--- /dev/null
+++ b/.config/systemd/user/firefox.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Start Firefox
+PartOf=graphical-session.target
+
+[Service]
+Type=exec
+ExecStart=/bin/sh -c "exec $HOME/.local/bin/firefox"
+Restart=on-failure
+
+[Install]
+WantedBy=desktop.target