Merge pull request #1396 from aptly-dev/fix/debianization

Fix/debianization
This commit is contained in:
André Roth
2024-12-04 09:07:26 +01:00
committed by GitHub
3 changed files with 9 additions and 3 deletions

View File

@@ -1,2 +1,8 @@
# Default settings for aptly-api
# Default settings for aptly-api systemd service
# bind to host:port
LISTEN_ADDRESS='localhost:8080'
# aptly options:
# -no-lock allow aptly commands in parallel with api service (no global database lock, but lock per request)
APTLY_OPTIONS="-no-lock"

View File

@@ -9,7 +9,8 @@ Group=aptly-api
Environment=TERM=dumb
WorkingDirectory=~
EnvironmentFile=/etc/default/aptly-api
ExecStart=/usr/bin/aptly api serve -config=/etc/aptly.conf -no-lock -listen=${LISTEN_ADDRESS}
ExecStart=/usr/bin/aptly api serve -config=/etc/aptly.conf ${APTLY_OPTIONS} -listen=${LISTEN_ADDRESS}
LimitNOFILE=32768
[Install]
WantedBy=multi-user.target

1
debian/control vendored
View File

@@ -89,7 +89,6 @@ Package: aptly
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}, bzip2, xz-utils, gpgv, gpg
Suggests: graphviz
Conflicts: gnupg1, gpgv1
Built-Using: ${misc:Static-Built-Using}, ${misc:Built-Using}
Description: Swiss army knife for Debian repository management - main package
It offers several features making it easy to manage Debian package