summaryrefslogtreecommitdiff
path: root/dropbox/dropbox@.service
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-05-26 08:58:17 +0200
committerErich Eckner <git@eckner.net>2016-05-26 09:01:51 +0200
commita5c25cc954d2bd3a854248f41cbffdac1737944a (patch)
tree36f9a07ff919e9732a141ffc4886397cf912d0b9 /dropbox/dropbox@.service
parent0684fb444e2fdb094a6ee79d19c4b7ba60219c72 (diff)
downloadarchlinuxewe.git.save-a5c25cc954d2bd3a854248f41cbffdac1737944a.tar.xz
dropbox neu
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 00000000..2823ed00
--- /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
+