From b7f2855d530561bb9acc42dec26902cf5b6ebba7 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 13 Jan 2016 01:05:30 +0100 Subject: added config file --- debian/vanity.service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'debian/vanity.service') diff --git a/debian/vanity.service b/debian/vanity.service index a22a624..39eb0c9 100644 --- a/debian/vanity.service +++ b/debian/vanity.service @@ -2,7 +2,8 @@ Description=make go packages gettable [Service] -ExecStart=/usr/bin/vanity -addr localhost:9192 -repo-root https://git.helsinki.at -vanity-root https://code.helsinki.at +EnvironmentFile=/etc/vanity.conf +ExecStart=/usr/bin/vanity -addr=${VANITY_ADDR} -vanity-root=${VANITY_ROOT} -repo-root=${VANITY_REPO_ROOT} User=vanity Group=vanity Restart=on-failure -- cgit v1.2.3