aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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