Using command_args_background and pidfile for the init script of net-misc/routinator
This commit is contained in:
parent
b737fcb083
commit
3afa6a39b7
|
@ -1,5 +1,5 @@
|
||||||
AUX routinator-confd 251 BLAKE2B d0615fac4e0f747469fd3eaf1287abd1490b67f270e75819d6c1b76754b223907c5c9f12571cec17e1007867f523d8622c0697508757d34d9b311b90ed8be30e SHA512 8c2c4883b9f365398f666b4c949291b68a15856fda0e42e6c362aab21c07bfe73c2ca971abe6415d4e0a0779038cfc1f95812d0bedb12c51459e63be972bd07f
|
AUX routinator-confd 215 BLAKE2B 35387a49ac313862e63d910989fc158c3f015c5e0d2e63680a5e5801e49e09b3c457525692a4851fe84560b7b341925ca35f434073da743b33a0ece4d3d2e52b SHA512 0a2c1cbf6c27f0498cbe7d2f3928f12339bc14e2cc75fd9c1e08e888eec825bfa91ca89afed90d76955a9ba62cecc3025f41a6d1aa9d389ef8b6467bad6e4af7
|
||||||
AUX routinator-initd 595 BLAKE2B 5631492ed17423007826c06bbafa967f18a1b24d050cd4724370a6032a2657b138b3b091e48ed5bc5ea96983ab1344b7afda9aa9ecc9ec742eb928b7902067c3 SHA512 6bd5b3f6a7179e01a6e1c296ae89958b22bbf56672ba30dd6c3c4fd55461b263c0d01ccd35ee13518ee2e258a9fd9929cffcc3be51b2d328b0aad0079883ef5d
|
AUX routinator-initd 685 BLAKE2B ba1151817955180e731d80e1981e08610737c6493beeb91097ad3442561a527b521f88bd95e96b9bdf7b06fc66770403ba1f82454ee0876fb8d0584762664337 SHA512 7cd802510e5c157fcf524cf6122c39938f1f3a408209a53e7442bcf8660703798a04a0d60612d418a1afad925cde35e2d7437b8d929af75b8f7ff95ddeb74c75
|
||||||
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
|
||||||
|
|
|
@ -4,5 +4,4 @@
|
||||||
# See routinator man for options
|
# See routinator man for options
|
||||||
|
|
||||||
ROUTINATOR_BASEDIR="/var/lib/routinator"
|
ROUTINATOR_BASEDIR="/var/lib/routinator"
|
||||||
ROUTINATOR_OPTS="--rtr=[::]:323 --pid-file=/run/routinator --user=routinator
|
ROUTINATOR_OPTS="--rtr=[::]:323 --user=routinator --group=routinator"
|
||||||
--group=routinator --detach"
|
|
||||||
|
|
|
@ -7,6 +7,8 @@ description="An RPKI relying party software"
|
||||||
command=/usr/bin/routinator
|
command=/usr/bin/routinator
|
||||||
command_args="--syslog --base-dir=${ROUTINATOR_BASEDIR} server
|
command_args="--syslog --base-dir=${ROUTINATOR_BASEDIR} server
|
||||||
${ROUTINATOR_OPTS}"
|
${ROUTINATOR_OPTS}"
|
||||||
|
pidfile="/run/${RC_SVCNAME}.pid"
|
||||||
|
command_args_background="--detach --pid-file=${pidfile}"
|
||||||
|
|
||||||
depend() {
|
depend() {
|
||||||
need net
|
need net
|
||||||
|
|
Loading…
Reference in a new issue