diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 2 | ||||
-rw-r--r-- | debian/vanity.install | 1 | ||||
-rw-r--r-- | debian/vanity.lintian-overrides | 2 | ||||
-rw-r--r-- | debian/vanity.service | 13 |
4 files changed, 17 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index 075e006..5c444a6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -vanity (0.1.1-1) UNRELEASED; urgency=medium +vanity (0.1.1-1) unstable; urgency=medium * Initial release. diff --git a/debian/vanity.install b/debian/vanity.install new file mode 100644 index 0000000..0a7989b --- /dev/null +++ b/debian/vanity.install @@ -0,0 +1 @@ +usr/bin/vanity diff --git a/debian/vanity.lintian-overrides b/debian/vanity.lintian-overrides new file mode 100644 index 0000000..72e91b4 --- /dev/null +++ b/debian/vanity.lintian-overrides @@ -0,0 +1,2 @@ +vanity: statically-linked-binary usr/bin/vanity +vanity: binary-without-manpage usr/bin/vanity diff --git a/debian/vanity.service b/debian/vanity.service new file mode 100644 index 0000000..c66620b --- /dev/null +++ b/debian/vanity.service @@ -0,0 +1,13 @@ +[Unit] +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 +Restart=on-failure +PrivateTmp=yes +PrivateDevices=yes +ProtectSystem=full +ProtectHome=yes + +[Install] +WantedBy=multi-user.target |