aboutsummaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorKoichiro IWAO <meta@vmeta.jp>2020-09-23 11:23:50 +0900
committerKoichiro IWAO <meta@vmeta.jp>2020-09-23 11:24:11 +0900
commit67b60e645c5519b1b1f54ec1b0c7dbd5dfb04bcf (patch)
tree925c06248a78177df746edb6137a89843cbfe9bd /unix
parent02da591c560a499eedd5687177ec4f1583bca4d8 (diff)
downloadtigervnc-67b60e645c5519b1b1f54ec1b0c7dbd5dfb04bcf.tar.gz
tigervnc-67b60e645c5519b1b1f54ec1b0c7dbd5dfb04bcf.zip
Replace some more hard-coded /etc with sysconfdir
Diffstat (limited to 'unix')
-rwxr-xr-xunix/vncserver/vncserver.in2
-rw-r--r--unix/vncserver/vncserver@.service.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/unix/vncserver/vncserver.in b/unix/vncserver/vncserver.in
index 25fbbd31..9583bf45 100755
--- a/unix/vncserver/vncserver.in
+++ b/unix/vncserver/vncserver.in
@@ -38,7 +38,7 @@
$vncUserDir = "$ENV{HOME}/.vnc";
$vncUserConfig = "$vncUserDir/config";
-$vncSystemConfigDir = "/etc/tigervnc";
+$vncSystemConfigDir = "@CMAKE_INSTALL_FULL_SYSCONFDIR@/tigervnc";
$vncSystemConfigDefaultsFile = "$vncSystemConfigDir/vncserver-config-defaults";
$vncSystemConfigMandatoryFile = "$vncSystemConfigDir/vncserver-config-mandatory";
diff --git a/unix/vncserver/vncserver@.service.in b/unix/vncserver/vncserver@.service.in
index 584ecf4b..3e90f098 100644
--- a/unix/vncserver/vncserver@.service.in
+++ b/unix/vncserver/vncserver@.service.in
@@ -1,7 +1,7 @@
# The vncserver service unit file
#
# Quick HowTo:
-# 1. Add a user mapping to /etc/tigervnc/vncserver.users.
+# 1. Add a user mapping to @CMAKE_INSTALL_FULL_SYSCONFDIR@/tigervnc/vncserver.users.
# 2. Adjust the global or user configuration. See the
# vncsession(8) manpage for details. (OPTIONAL)
# 3. Run `systemctl enable vncserver@:<display>.service`