summaryrefslogtreecommitdiff
path: root/dropbox/dropbox@.service
diff options
context:
space:
mode:
Diffstat (limited to 'dropbox/dropbox@.service')
-rw-r--r--dropbox/dropbox@.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/dropbox/dropbox@.service b/dropbox/dropbox@.service
new file mode 100644
index 000000000..2823ed00c
--- /dev/null
+++ b/dropbox/dropbox@.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=Dropbox
+After=local-fs.target network.target
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/dropbox
+ExecReload=/bin/kill -HUP $MAINPID
+KillMode=process
+Restart=on-failure
+User=%I
+Environment=DISPLAY=:0
+
+[Install]
+WantedBy=multi-user.target
+