Merge pull request #461 from jacksgt/service-file

Add systemd service for aptly http server
This commit is contained in:
Andrey Smirnov authored and GitHub committed 2018-04-11 16:32:41 +03:00
commit 2f5bf96fc9
2 files changed
+24

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
[Unit]
Description=APT repository API
After=network.target
Documentation=man:aptly(1)
Documentation=https://www.aptly.info/doc/api/
[Service]
Type=simple
ExecStart=/usr/bin/aptly serve api -no-lock -listen=127.0.0.1:8081
[Install]
WantedBy=multi-user.target
+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