]> git.hoellein.online Git - zenbook/commitdiff
saving uncommitted changes in /etc prior to apt run
authorroot <root@localhost>
Tue, 10 Dec 2019 12:42:41 +0000 (13:42 +0100)
committerroot <root@localhost>
Tue, 10 Dec 2019 12:42:41 +0000 (13:42 +0100)
.etckeeper
systemd/system/multi-user.target.wants/vncserver@1.service [new symlink]
systemd/system/vncserver@.service [new file with mode: 0644]

index 8e57efd46b010229dfe85ade563c0fe8dad0a0b2..d0c141b47ab8af86bf3c72afc4c39c467ecb6d61 100755 (executable)
@@ -3105,6 +3105,7 @@ maybe chmod 0644 'systemd/system/systemd-resolved.service.d/override.conf'
 maybe chmod 0755 'systemd/system/systemd-resolved.service.wants'
 maybe chmod 0644 'systemd/system/teamviewerd.service'
 maybe chmod 0755 'systemd/system/timers.target.wants'
+maybe chmod 0600 'systemd/system/vncserver@.service'
 maybe chmod 0644 'systemd/timesyncd.conf'
 maybe chmod 0755 'systemd/user'
 maybe chmod 0644 'systemd/user.conf'
diff --git a/systemd/system/multi-user.target.wants/vncserver@1.service b/systemd/system/multi-user.target.wants/vncserver@1.service
new file mode 120000 (symlink)
index 0000000..2e192f7
--- /dev/null
@@ -0,0 +1 @@
+/etc/systemd/system/vncserver@.service
\ No newline at end of file
diff --git a/systemd/system/vncserver@.service b/systemd/system/vncserver@.service
new file mode 100644 (file)
index 0000000..6678038
--- /dev/null
@@ -0,0 +1,16 @@
+[Unit] 
+Description=Remote desktop service (VNC) 
+After=syslog.target network.target 
+
+[Service] 
+Type=simple 
+User=mhoellein
+PAMName=login 
+PIDFile=/home/%u/.vnc/%H%i.pid 
+ExecStartPre=/usr/bin/vncserver -kill :%i > /dev/null 2>&1 || :
+ExecStart=/usr/bin/vncserver :%i -localhost no -geometry 1280x1024
+ExecStop=/usr/bin/vncserver -kill :%i 
+
+[Install] 
+WantedBy=multi-user.target
+