From 6ee370ee359940f86e17a91934dbe0280114eca7 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 13 Aug 2017 16:15:18 +0200 Subject: new v0.1 based package --- debian/vanity@.service | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 debian/vanity@.service (limited to 'debian/vanity@.service') diff --git a/debian/vanity@.service b/debian/vanity@.service new file mode 100644 index 0000000..cb6e2a2 --- /dev/null +++ b/debian/vanity@.service @@ -0,0 +1,17 @@ +[Unit] +Description=make go packages gettable (%I) +After=network.target + +[Service] +EnvironmentFile=/etc/vanity/%i.conf +ExecStart=/usr/bin/vanity -addr=${VANITY_ADDR} -vanity-root=${VANITY_ROOT} -repo-root=${VANITY_REPO_ROOT} +User=vanity +Group=vanity +Restart=on-failure +PrivateTmp=yes +PrivateDevices=yes +ProtectSystem=full +ProtectHome=yes + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3