summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2017-08-12 16:27:50 +0200
committerChristian Pointner <equinox@spreadspace.org>2017-08-12 16:27:50 +0200
commit743df14a51ba9fdd990839a5fe6c6dae0f773979 (patch)
tree5f0419198a1019f0bc2d4d22f0633091c055f58b
parentnew package with template units (diff)
no more default but example file
-rw-r--r--debian/example.conf3
-rwxr-xr-xdebian/rules5
-rw-r--r--debian/vanity.default3
-rw-r--r--debian/vanity.examples1
4 files changed, 4 insertions, 8 deletions
diff --git a/debian/example.conf b/debian/example.conf
new file mode 100644
index 0000000..bf9ab8e
--- /dev/null
+++ b/debian/example.conf
@@ -0,0 +1,3 @@
+VANITY_ADDR=127.0.0.1:9192
+VANITY_ROOT=https://example.com
+VANITY_REPO_ROOT=https://git.example.com
diff --git a/debian/rules b/debian/rules
index 61ce866..a22cf69 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,9 +6,4 @@ export DH_GOPKG := github.com/xiam/vanity
%:
dh $@ --buildsystem=golang --with=golang --with=systemd
-override_dh_auto_install:
- dh_auto_install
- install -d $$(pwd)/debian/vanity/etc/
- install -m 644 $$(pwd)/debian/vanity.conf $$(pwd)/debian/vanity/etc/
-
override_dh_installinit:
diff --git a/debian/vanity.default b/debian/vanity.default
deleted file mode 100644
index ae10701..0000000
--- a/debian/vanity.default
+++ /dev/null
@@ -1,3 +0,0 @@
-VANITY_ADDR=127.0.0.1:9192
-VANITY_ROOT=https://spreadspace.org
-VANITY_REPO_ROOT=https://git.spreadspace.org
diff --git a/debian/vanity.examples b/debian/vanity.examples
new file mode 100644
index 0000000..66299e9
--- /dev/null
+++ b/debian/vanity.examples
@@ -0,0 +1 @@
+debian/example.conf