Files
gentoo-zh/sys-apps/aptly/files/aptly-api.initd
T
2021-08-14 14:03:07 +08:00

16 lines
355 B
Plaintext

#!/sbin/openrc-run
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
command="/usr/bin/aptly"
command_background="yes"
name="aptly"
description="aptly"
command_user="${APTLY_USER:-aptly}:${APTLY_GROUP:-aptly}"
command_args="api serve ${OPTS}"
pidfile="/run/${RC_SVCNAME}.pid"
depend() {
need net
}