init and conf for routinator
This commit is contained in:
parent
7b1c815f57
commit
a21df00dfa
|
@ -1,5 +1,5 @@
|
||||||
AUX routinator-confd 251 BLAKE2B d0615fac4e0f747469fd3eaf1287abd1490b67f270e75819d6c1b76754b223907c5c9f12571cec17e1007867f523d8622c0697508757d34d9b311b90ed8be30e SHA512 8c2c4883b9f365398f666b4c949291b68a15856fda0e42e6c362aab21c07bfe73c2ca971abe6415d4e0a0779038cfc1f95812d0bedb12c51459e63be972bd07f
|
AUX routinator-confd 251 BLAKE2B d0615fac4e0f747469fd3eaf1287abd1490b67f270e75819d6c1b76754b223907c5c9f12571cec17e1007867f523d8622c0697508757d34d9b311b90ed8be30e SHA512 8c2c4883b9f365398f666b4c949291b68a15856fda0e42e6c362aab21c07bfe73c2ca971abe6415d4e0a0779038cfc1f95812d0bedb12c51459e63be972bd07f
|
||||||
AUX routinator-initd 712 BLAKE2B 4f67d2d470371563aae32fb7fdeecd56faf37f7cf0d3d40a2dfba37ce1621b0a28fa84936d4c72947495e34ba7eba270ccf67c2956acd12aff8fb8b11d23ca6f SHA512 d22973e02f3f1a86b8f1cec2001253b5e6c062e04790dd81470783c166511189721051ef7ebed65a130036c17dde80820f8cbcf112fc272ca990c0b3e7e19493
|
AUX routinator-initd 595 BLAKE2B 5631492ed17423007826c06bbafa967f18a1b24d050cd4724370a6032a2657b138b3b091e48ed5bc5ea96983ab1344b7afda9aa9ecc9ec742eb928b7902067c3 SHA512 6bd5b3f6a7179e01a6e1c296ae89958b22bbf56672ba30dd6c3c4fd55461b263c0d01ccd35ee13518ee2e258a9fd9929cffcc3be51b2d328b0aad0079883ef5d
|
||||||
DIST adler32-1.0.4.crate 5105 BLAKE2B 344a5258e77328a24a545e32f9bc653fa25b7ea43803ed7861db261bce227aa1599520a42acea3de1f2acebb8fa9fad251e2688413b752eafe2401ca1a2ee34a SHA512 5990e1e277a1c3aae5adef5e4601b807a756a40e88578bb91f1c70d70babfa97fb3f2c1b963482ec8e18c16d5e722bf90fb42f9646c8dd840373f28965a2d123
|
DIST adler32-1.0.4.crate 5105 BLAKE2B 344a5258e77328a24a545e32f9bc653fa25b7ea43803ed7861db261bce227aa1599520a42acea3de1f2acebb8fa9fad251e2688413b752eafe2401ca1a2ee34a SHA512 5990e1e277a1c3aae5adef5e4601b807a756a40e88578bb91f1c70d70babfa97fb3f2c1b963482ec8e18c16d5e722bf90fb42f9646c8dd840373f28965a2d123
|
||||||
DIST aho-corasick-0.7.6.crate 108953 BLAKE2B d713366d0783e1ffbe65408e4d38ef9f12276f61043c768265de5d47e446a378306096a70252c9a49a6e7d3b97a09f30405a3d8df6b40dc2dfeb7407ed574c95 SHA512 120aa28e72279f561d7f51657aa0800dd46504cd92f758f848284e5f3695be6f5e24056a66b0f2d971c527277e92ae938e2357ade37b5cbe1c93913a5dc308b1
|
DIST aho-corasick-0.7.6.crate 108953 BLAKE2B d713366d0783e1ffbe65408e4d38ef9f12276f61043c768265de5d47e446a378306096a70252c9a49a6e7d3b97a09f30405a3d8df6b40dc2dfeb7407ed574c95 SHA512 120aa28e72279f561d7f51657aa0800dd46504cd92f758f848284e5f3695be6f5e24056a66b0f2d971c527277e92ae938e2357ade37b5cbe1c93913a5dc308b1
|
||||||
DIST ansi_term-0.11.0.crate 17087 BLAKE2B 9bd35c045a01ce4c6c4a5db1b4f15e9412bb97426eec19d4421dffbec633de8d13452c13c1dc1b30998690b78d7ed38311aca700087f13a81f66bd1d5d7300c4 SHA512 a637466a380748f939b3af090b8c0333f35581925bc03f4dda9b3f95d338836403cf5487ae3af9ff68f8245a837f8ab061aabe57a126a6a2c20f2e972c77d1fa
|
DIST ansi_term-0.11.0.crate 17087 BLAKE2B 9bd35c045a01ce4c6c4a5db1b4f15e9412bb97426eec19d4421dffbec633de8d13452c13c1dc1b30998690b78d7ed38311aca700087f13a81f66bd1d5d7300c4 SHA512 a637466a380748f939b3af090b8c0333f35581925bc03f4dda9b3f95d338836403cf5487ae3af9ff68f8245a837f8ab061aabe57a126a6a2c20f2e972c77d1fa
|
||||||
|
|
|
@ -5,7 +5,8 @@
|
||||||
name="routinator daemon"
|
name="routinator daemon"
|
||||||
description="An RPKI relying party software"
|
description="An RPKI relying party software"
|
||||||
command=/usr/bin/routinator
|
command=/usr/bin/routinator
|
||||||
command_args="${ROUTINATOR_OPTS}"
|
command_args="--syslog --base-dir=${ROUTINATOR_BASEDIR} server
|
||||||
|
${ROUTINATOR_OPTS}"
|
||||||
|
|
||||||
depend() {
|
depend() {
|
||||||
need net
|
need net
|
||||||
|
@ -14,15 +15,8 @@ depend() {
|
||||||
start_pre() {
|
start_pre() {
|
||||||
checkpath -d -m 0750 -o routinator:routinator /var/lib/routinator
|
checkpath -d -m 0750 -o routinator:routinator /var/lib/routinator
|
||||||
if [ ! -d "${ROUTINATOR_BASEDIR}/repository" ] || \
|
if [ ! -d "${ROUTINATOR_BASEDIR}/repository" ] || \
|
||||||
[ ! -d "${ROUTINATOR_BASEDIR}/tals" ]; then
|
[ ! -d "${ROUTINATOR_BASEDIR}/tals" ]; then
|
||||||
${command} --base-dir=${ROUTINATOR_BASEDIR} init \
|
${command} --base-dir=${ROUTINATOR_BASEDIR} init \
|
||||||
--decline-arin-rpa
|
--decline-arin-rpa
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
start() {
|
|
||||||
ebegin "Starting ${name}"
|
|
||||||
start-stop-daemon --start --exec ${command} -- --syslog \
|
|
||||||
--base-dir=${ROUTINATOR_BASEDIR} server ${command_args}
|
|
||||||
eend $?
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue