aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2021-11-24 21:07:01 +0100
committerDavid Runge <dave@sleepmap.de>2021-11-24 21:07:01 +0100
commitc336c96924798f12632b486e522489216f4c1748 (patch)
treead96fd3a71fee1616d099fe0901c58bbd07e5e6f
parent9ecb5ce633aba575d1a1cd4f387c25d9ae936b92 (diff)
downloaddotfiles-c336c96924798f12632b486e522489216f4c1748.tar.gz
dotfiles-c336c96924798f12632b486e522489216f4c1748.tar.bz2
dotfiles-c336c96924798f12632b486e522489216f4c1748.tar.xz
dotfiles-c336c96924798f12632b486e522489216f4c1748.zip
nextcloud-client: Add systemd user service
.config/systemd/user/nextcloud.service: Add systemd user service, that binds to sway-session.target.
-rw-r--r--.config/systemd/user/nextcloud.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/.config/systemd/user/nextcloud.service b/.config/systemd/user/nextcloud.service
new file mode 100644
index 0000000..5578d40
--- /dev/null
+++ b/.config/systemd/user/nextcloud.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Nextcloud desktop client
+Documentation=man:nextcloud(1)
+After=waybar.service
+BindsTo=sway-session.target
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/nextcloud --logfile - --background
+
+[Install]
+WantedBy=sway-session.target