]> gitweb.fluxo.info Git - trashman.git/commitdiff
Fix: riseup-vpn: comment out systemd service installation
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 13 Dec 2020 13:36:43 +0000 (10:36 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 13 Dec 2020 13:36:43 +0000 (10:36 -0300)
share/trashman/riseup-vpn/unix/linux/debian/install

index 3e2aa9324eae875873d835e319a00f096aec436f..fc76ccec91587f810a6f8fe94580fbf4a4634016 100755 (executable)
@@ -22,10 +22,11 @@ trashman_apt_install snapd gnome-software-plugin-snap desktop-file-utils dnsutil
 snap install --classic riseup-vpn
 
 # Systemd service
-cp $SHARE/riseup-vpn/unix/linux/debian/files/etc/systemd/system/riseup-vpn.service /etc/systemd/system
-chown root. /etc/systemd/system/riseup-vpn.service
-systemctl daemon-reload
-systemctl enable --now riseup-vpn.service
+# Currently the service does not work when running as root: cannot open X11 display
+#cp $SHARE/riseup-vpn/unix/linux/debian/files/etc/systemd/system/riseup-vpn.service /etc/systemd/system
+#chown root. /etc/systemd/system/riseup-vpn.service
+#systemctl daemon-reload
+#systemctl enable --now riseup-vpn.service
 
 # To launch manually as a regular user
 # See https://riseup.net/en/vpn/linux