Add systemd service for aptly http server and aptly api

The systemd service files can be placed under `/etc/systemd/system/`
(for users/administrators) or `/lib/systemd/system/` (for distributions)
This commit is contained in:
Jack Henschel
2018-04-05 17:13:12 +02:00
parent cef4fefc40
commit 14798b2063
2 changed files with 24 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
[Unit]
Description=APT repository server
After=network.target
Documentation=man:aptly(1)
Documentation=https://www.aptly.info/doc/commands/
[Service]
Type=simple
ExecStart=/usr/bin/aptly serve -listen=127.0.0.1:8080
[Install]
WantedBy=multi-user.target