diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-09 21:30:54 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-09 21:30:54 +0100 |
commit | 8e5dcbcd9c97dcecc17992eff0e8d01e5c83ade2 (patch) | |
tree | 72b9af89b84e219b09772e3bf824abbc801ad0e0 /dev-util | |
parent | a2740fd9a512436fd84baef922a0a24c4b7417d9 (diff) |
gentoo auto-resync : 09:08:2023 - 21:30:54
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/Manifest.gz | bin | 68483 -> 68476 bytes | |||
-rw-r--r-- | dev-util/drone-cli/Manifest | 6 | ||||
-rw-r--r-- | dev-util/drone-cli/drone-cli-1.7.0.ebuild (renamed from dev-util/drone-cli/drone-cli-1.5.0.ebuild) | 2 | ||||
-rw-r--r-- | dev-util/drone/Manifest | 14 | ||||
-rw-r--r-- | dev-util/drone/drone-2.13.0.ebuild | 34 | ||||
-rw-r--r-- | dev-util/drone/drone-2.18.0.ebuild (renamed from dev-util/drone/drone-2.11.1.ebuild) | 10 | ||||
-rw-r--r-- | dev-util/drone/files/drone-server.conf | 81 | ||||
-rw-r--r-- | dev-util/drone/files/drone-server.confd | 47 | ||||
-rw-r--r-- | dev-util/drone/files/drone-server.initd | 19 | ||||
-rw-r--r-- | dev-util/drone/files/drone-server.service | 25 |
10 files changed, 137 insertions, 101 deletions
diff --git a/dev-util/Manifest.gz b/dev-util/Manifest.gz Binary files differindex 43b39d189788..cad314d6c4d6 100644 --- a/dev-util/Manifest.gz +++ b/dev-util/Manifest.gz diff --git a/dev-util/drone-cli/Manifest b/dev-util/drone-cli/Manifest index 2fcfde53aa24..dc948c2931d1 100644 --- a/dev-util/drone-cli/Manifest +++ b/dev-util/drone-cli/Manifest @@ -1,4 +1,4 @@ -DIST drone-cli-1.5.0-deps.tar.xz 295600096 BLAKE2B 5076f53183b5acba9b50134c75529e03191db5a2415a86898fa359aeb74ad1dcc2c1936f95a04afdf64043f7cb0ad42e6502fdcf86bfdc24cae451288b8b0705 SHA512 38467e5f19b24088e2d403de4300c844ed93cbdcec24098eb9fd706c1914d2deb57940d9d6ce2e3bde215a8f6cb4a783815a2a7cf99845006c638d28d3326528 -DIST drone-cli-1.5.0.tar.gz 77135 BLAKE2B 012c4afeca6976c1316e40195fd2be33c35b0e2c95a93ab3a67ed448136f2a722415aa7043c91be7369b7e5896c938ab7f77375cf0d0f6a0a03267c64e0ce532 SHA512 7406a4a97249b84dec6b0aaac2124cb3b907b7f5c08a80084f254614a9c7ee16d5a5541cb43b30e78bb6661906e9f170919ff0d8daf934642e54749d1990222d -EBUILD drone-cli-1.5.0.ebuild 583 BLAKE2B 4ebb9d5ce4bc9856c71b998fc3471ebc62768592f976e070f348a184efa4b29e1f7cea8ae06cbeef01a2884191aebc6c89fac228c57dd4cb3c71863939aa2dd9 SHA512 09e23ff0968d98c6290ac881fc3f2be46bddefec7b3b2b2e6937b8df773395673370b5281a96030b92c1cabb14e4ff73770cd55ec02c4def80a15be99c5665ac +DIST drone-cli-1.7.0-deps.tar.xz 48810472 BLAKE2B 540ff9887344ada33cb851b333ddf505504266109e04017a1bfc8fa0d2c6b4c65f45d4afc286f5b635d523d35b6b2c5fb2b94dbd1cd88bed3f44b009af68787a SHA512 1d8112db3460af58cd88c931fb1759c86affc43582103c4c60ef6d6314c3e35a26d21c1f757661851bd5f0b3e292c328265ec7ae166c305fd1718f8f39fde48b +DIST drone-cli-1.7.0.tar.gz 59347 BLAKE2B b8c0e3b9beea5dfca6abe705470012238ec6cfc0a88ff5145bac98697c9904aed332bda4c9ccffd5287f3e20954a11b36b2a4f22a96ec62101a2e608a120c691 SHA512 d7345d05a15f7ac8f3fc8406652b5303f6139baca49bef9f1c5ed69a61bce44a5154d20ffd9451fbb4d27deb3a3fbeba3ce8bac6370e6b050d8c066648fb2ad0 +EBUILD drone-cli-1.7.0.ebuild 583 BLAKE2B 8cdb0c666ddedc6b6f6a07a71837f696608c5dfa62d2bd8c78ee91ad7004c2e4d60dfa3a9bcf8bc6f205ec392eabc229d5f9bd825f4b6dd7af85c802f8569753 SHA512 ae62f2ec70f5d9fea9ccc4e6be2ab21194ee5755936056e911bac742cfd78828d66106a528041be17bf9e0af1a060cfabfd45fe136210334254dc674041c4dc0 MISC metadata.xml 329 BLAKE2B a776dcbb6cd5143660d0e97649ff778445ce0ce0df09d5ef12c51392aebbb5e4f4a0f6dbb7a7b05bc26dc33ff75bfed60baba7ded7570d0514950a4d6c01c845 SHA512 75bf4e3bae846b0246736e13f99efdee4d912f729027aeb1611704c959a9888628d7688beed9c6ecbbb009a5d2cc9bbea7986337c7c42a819890a310aa8a8f73 diff --git a/dev-util/drone-cli/drone-cli-1.5.0.ebuild b/dev-util/drone-cli/drone-cli-1.7.0.ebuild index 29374e2b4214..53c6bbee5e2a 100644 --- a/dev-util/drone-cli/drone-cli-1.5.0.ebuild +++ b/dev-util/drone-cli/drone-cli-1.7.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-util/drone/Manifest b/dev-util/drone/Manifest index 8f0747bdbf32..f7e3cfc122b5 100644 --- a/dev-util/drone/Manifest +++ b/dev-util/drone/Manifest @@ -1,9 +1,7 @@ -AUX drone-server.confd 1238 BLAKE2B efa7a96761fb7f57ce2d34396dce7c3fafc12942e45603bd89334e16f99f81c35d9334a7db14de7f42bfcedca34577d0c60430cf8470c843cf736e77d1065e87 SHA512 bbe3944eca8d82afd3161f53d9359422b2fb8985e69facd781a81f1c55ec647e8647f0fffc284375dc091b15ab5d665669cd6a2818ff62f4afe255e0a22a21cc -AUX drone-server.initd 455 BLAKE2B 73d173c4fb2c53826d6f0f9395a18dfc9802c01f23c28517ed784fc0713e342f6684b13995a8f4404f51b7504f7515c8a652621f6884b9e0fe36ae6b9ed1269e SHA512 969a7a1947c791bb8788b1fa4d36df1ead66c1312c8f4188970178ef7cbca3b9a108bce955a012285330155be15eb270a1675aee7d317c2cff4cb4554d461a38 -DIST drone-2.11.1-deps.tar.xz 135830428 BLAKE2B 8b1c42d6ebf445477018bb58776eea8b0d5133a99efc4fc366314c2985e534303d20fec704dcd6799bd6a050bf89f8d3a18e00c8030e4bc5211733827327047f SHA512 ae0b21475d716ceeddf44e449958d678e81a00b85cca71262e7093971b35a4432d0ae7252ffce561f76b19de7f71cb6798804de3f63dd832ed24d8fdf57800f4 -DIST drone-2.11.1.tar.gz 311271 BLAKE2B 319a04ca2fac7d43bfc86a94a6008d07aa2565967b849f824f4a9be688d629e2b41ad98cd8319549687c842545af12260daa435e29dc1d394fa22708bdb5970a SHA512 f782427321ed990f503041ed4a4a692133f89797a16453f4238648cbd8b924bc3fb473e991668f3cba8bde0dcf87c79a5a11c02c4dfe738dd82e94009f95a685 -DIST drone-2.13.0-deps.tar.xz 134308908 BLAKE2B 455efee3eae4502ae6b434c42115f5bc18eb2cbf77094234f060129f4c22470f24c9206a01a473d583d9fb8c925825f9c909a92a3665924981e549e91a2ecb59 SHA512 b1db03d44c4e9df8fcd6e8c302b73bbe0cfbdefa4b67ee07fad15a44d5406b372833830aae795f435da4425cfee304c324c92fd6023341d77ea4c0758f4104dc -DIST drone-2.13.0.tar.gz 314427 BLAKE2B aafd2c970dfa7b9d67fc18f5a858cb4a76ca5503e8d61cf3fae7857bef91c2a965fffb535cb7c5c310f10b5f64fd9f568bda10ae704d61449a255b9adf7e8ef3 SHA512 58a30e7136ed366a5dc51a979efb677d95b2ab180982a95ea3984f35c3eba05c81b4ce3cf6bb594fd33c992704216313222c750b7857026fb316e5fce13aed01 -EBUILD drone-2.11.1.ebuild 904 BLAKE2B 5968da8c3a6dd3d12e4bf4803df30240cacbd2d3d2af92a24b6daf24d1e5a19f7d0e498182216e1bf76613d4469920e3fdbc196eead876bf34d9877103c7f149 SHA512 646fe8bc5e3b7b44567ba1a2285dd65230675c96527d57ad084e3f5e74eac81463adc284fa622a1847712b93721ff3cdf07eb175c3498d28fd3a214538dfedbc -EBUILD drone-2.13.0.ebuild 904 BLAKE2B 5968da8c3a6dd3d12e4bf4803df30240cacbd2d3d2af92a24b6daf24d1e5a19f7d0e498182216e1bf76613d4469920e3fdbc196eead876bf34d9877103c7f149 SHA512 646fe8bc5e3b7b44567ba1a2285dd65230675c96527d57ad084e3f5e74eac81463adc284fa622a1847712b93721ff3cdf07eb175c3498d28fd3a214538dfedbc +AUX drone-server.conf 2147 BLAKE2B f48a595c2b5a94a77b4845e0ac05b2c0386f4c67662c77a62cf6715e63d204452822dc06b827982314181098661fbd288a5ca59ec13a5e65afca647e95d8a8d9 SHA512 c16b3da3dc802c2df67ba0e4af5d089d39980c17206f5da024d880d6b106ba05ff46ab7c495876387e92a815e3e0894fe082af8ec0b32afa7f6e15bb3959bc01 +AUX drone-server.initd 715 BLAKE2B 914d9924af3eb64c8159720f90ad2a20e4571621bba860a29d3e0ef114cff40fcde2018ac1ffa79f6afb5958947a661457532585d751472164ac4bf88a7d01a2 SHA512 c4a6fb9b31a0baf7f8fcb2fc7c732bb577f3ffcc84c9704fff88a9bba877f7b61fcc73ac47d32bc10a302ca7c3eba1b5abfb6ab2a5e59662ae07257231be4d99 +AUX drone-server.service 464 BLAKE2B a05794e0fe7e90626dac887109e25d263fdb8ec4bbd1d84c94052505ff5d7c1c1bb48fd6c1b1a75c612439781f6f685a9c85decb19b46623c20b7efd05b25313 SHA512 053f0eb039b603f9a66087462f34a8ec12713d182edb7b17bcde6bec08e77a9dc989d8d5f6ffaa8069e18bb9515ac86208672d31178705da212a918b79c84c30 +DIST drone-2.18.0-deps.tar.xz 141105460 BLAKE2B 2256bdf1dbe4782aa034c529d16d0fe97bc69880b06238a185954a8d49cd5338cb24fee266265e67e7ea25933a3205eb590de65c83c52cbd3fc667f5fb7760bc SHA512 866748cc49660efad1ca925c25055986065735d3f1f46f5a6958634bd63797c73b02eddc8a1eccbcd8c55d49630d692cb258ee94b2cf8cb30c9adecaf6490a95 +DIST drone-2.18.0.tar.gz 316382 BLAKE2B a60e9302a61edb1536f696e588011a38976d1ba31f7eed5c2f1d49c30769acae2dec8072f7f930b5e492dd3329b08a35bad087907d0818a5c487b5b6c24cb798 SHA512 c738d338056dc5758f4d589749513b832de1b68b1e81fbd8214bd69acf7f1d53b89b960cabc246edc369c02bd8900a01925279992b845f37a4a11573960a5696 +EBUILD drone-2.18.0.ebuild 944 BLAKE2B 8112f6f88797c1556c364a3877bcfbb7d7212a1dddf99c707ef9a572826467ea6366c87f910c155d8635f8c443ad5139cb81b09be24b6474005a21526259615d SHA512 02a583b6acda48f423bc8af7ed89970d56478c283166f7a490beb3d7635516684c9ff3e74f4f0fb7354933ed45b69cff986d58dba679315346e13d2deb8bc535 MISC metadata.xml 325 BLAKE2B e29cd5b14fa52fff0abf8af7b26de07cb75c917c4580488cf9bf90424ff740bad995e78fd32373456f217b79235d6a37c621d84e63ca7e3537c72be550854821 SHA512 54c42d3b2acb06d3215b1e09e0274dae6b33e7771f1184da22a0fe386d31282e6c7bdd297e4fa1f0e8812cd65d1d8a1ce955e45a658d726bceb8fc515cbd8f75 diff --git a/dev-util/drone/drone-2.13.0.ebuild b/dev-util/drone/drone-2.13.0.ebuild deleted file mode 100644 index 09dea1a22a72..000000000000 --- a/dev-util/drone/drone-2.13.0.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -inherit go-module - -DESCRIPTION="A Continuous Delivery platform built on Docker, written in Go" -HOMEPAGE="https://github.com/drone/drone" -SRC_URI="https://github.com/drone/drone/archive/v${PV}.tar.gz -> ${P}.tar.gz" -SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" - -DEPEND="acct-group/drone - acct-user/drone" - RDEPEND="${DEPEND}" - -RESTRICT="test" - -src_compile() { - ego build -ldflags "-extldflags \"-static\"" \ - -o drone-server ./cmd/drone-server -} - -src_install() { - dobin drone-server - dodoc CHANGELOG.md HISTORY.md - newinitd "${FILESDIR}"/drone-server.initd drone-server - newconfd "${FILESDIR}"/drone-server.confd drone-server - keepdir /var/log/drone /var/lib/drone - fowners -R ${PN}:${PN} /var/log/drone /var/lib/drone -} diff --git a/dev-util/drone/drone-2.11.1.ebuild b/dev-util/drone/drone-2.18.0.ebuild index 09dea1a22a72..6f45d08d86b7 100644 --- a/dev-util/drone/drone-2.11.1.ebuild +++ b/dev-util/drone/drone-2.18.0.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit go-module +inherit go-module systemd DESCRIPTION="A Continuous Delivery platform built on Docker, written in Go" HOMEPAGE="https://github.com/drone/drone" @@ -21,14 +21,16 @@ RESTRICT="test" src_compile() { ego build -ldflags "-extldflags \"-static\"" \ - -o drone-server ./cmd/drone-server + ./cmd/drone-server } src_install() { dobin drone-server dodoc CHANGELOG.md HISTORY.md + insinto /etc + doins "${FILESDIR}"/drone-server.conf newinitd "${FILESDIR}"/drone-server.initd drone-server - newconfd "${FILESDIR}"/drone-server.confd drone-server + systemd_dounit "${FILESDIR}"/drone-server.service keepdir /var/log/drone /var/lib/drone fowners -R ${PN}:${PN} /var/log/drone /var/lib/drone } diff --git a/dev-util/drone/files/drone-server.conf b/dev-util/drone/files/drone-server.conf new file mode 100644 index 000000000000..ab17fe08e3fe --- /dev/null +++ b/dev-util/drone/files/drone-server.conf @@ -0,0 +1,81 @@ +# environment variables for drone +# See also http://docs.drone.io/server/reference/ +# DRONE_BITBUCKET_CLIENT_ID= +# DRONE_BITBUCKET_SECRET= +# DRONE_BITBUCKET_DEBUG= +# DRONE_CLEANUP_DEADLINE_PENDING= +# DRONE_CLEANUP_DEADLINE_RUNNING= +# DRONE_CLEANUP_DISABLED= +# DRONE_CLEANUP_INTERVAL= +# DRONE_CONVERT_PLUGIN_ENDPOINT= +# DRONE_CONVERT_PLUGIN_EXTENSION= +# DRONE_CONVERT_PLUGIN_SECRET= +# DRONE_CONVERT_PLUGIN_SKIP_VERIFY= +# DRONE_COOKIE_SECRET= +# DRONE_COOKIE_TIMEOUT= +# DRONE_CRON_DISABLED= +# DRONE_CRON_INTERVAL= +DRONE_DATABASE_DATASOURCE="/var/lib/drone/drone.sqlite" +# DRONE_DATABASE_DRIVER=sqlite3 +# DRONE_DATABASE_MAX_CONNECTIONS= +# DRONE_DATABASE_SECRET= +# DRONE_GIT_ALWAYS_AUTH= +# DRONE_GIT_PASSWORD= +# DRONE_GIT_USERNAME= +# DRONE_GITEA_CLIENT_ID= +# DRONE_GITEA_CLIENT_SECRET= +# DRONE_GITEA_SERVER= +# DRONE_GITEA_SKIP_VERIFY= +# DRONE_GITEE_REDIRECT_URL= +# DRONE_GITEE_SCOPE= +# DRONE_GITEE_SKIP_VERIFY= +# DRONE_GITHUB_CLIENT_ID= +# DRONE_GITHUB_CLIENT_SECRET= +# DRONE_GITHUB_SCOPE= +# DRONE_GITHUB_SERVER= +# DRONE_GITHUB_SKIP_VERIFY=false +# DRONE_GITLAB_CLIENT_ID= +# DRONE_GITLAB_CLIENT_SECRET= +# DRONE_GITLAB_SERVER= +# DRONE_GITLAB_SKIP_VERIFY=false +# DRONE_GOGS_SERVER= +# DRONE_GOGS_SKIP_VERIFY=false +# DRONE_JSONNET_ENABLED= +# DRONE_LICENSE= +# DRONE_LOGS_COLOR= +# DRONE_LOGS_DEBUG= +# DRONE_LOGS_PRETTY= +# DRONE_LOGS_TEXT= +# DRONE_LOGS_TRACE= +# DRONE_PROMETHEUS_ANONYMOUS_ACCESS= +# DRONE_REGISTRATION_CLOSED= +# DRONE_REPOSITORY_FILTER= +# DRONE_RPC_SECRET= +# DRONE_S3_BUCKET= +# DRONE_S3_ENDPOINT= +# DRONE_S3_PATH_STYLE= +# DRONE_S3_PREFIX= +# DRONE_SERVER_HOST= +# DRONE_SERVER_PROTO= +# DRONE_SERVER_PROXY_HOST= +# DRONE_SERVER_PROXY_PROTO= +# DRONE_STARTUP_ENABLED= +# DRONE_STARTUP_STEP_LIMIT= +# DRONE_STASH_CONSUMER_KEY= +# DRONE_STASH_PRIVATE_KEY= +# DRONE_STASH_SERVER= +# DRONE_STASH_SKIP_VERIFY= +# DRONE_STATUS_DISABLED= +# DRONE_STATUS_NAME= +# DRONE_TLS_AUTOCERT= +# DRONE_TLS_CERT= +# DRONE_TLS_KEY= +# DRONE_USER_CREATE= +# DRONE_USER_FILTER= +# DRONE_VALIDATE_PLUGIN_ENDPOINT= +# DRONE_VALIDATE_PLUGIN_SECRET= +# DRONE_VALIDATE_PLUGIN_SKIP_VERIFY= +# DRONE_WEBHOOK_ENDPOINT= +# DRONE_WEBHOOK_EVENTS= +# DRONE_WEBHOOK_SECRET= +# DRONE_WEBHOOK_SKIP_VERIFY= diff --git a/dev-util/drone/files/drone-server.confd b/dev-util/drone/files/drone-server.confd deleted file mode 100644 index 3d4fd461402d..000000000000 --- a/dev-util/drone/files/drone-server.confd +++ /dev/null @@ -1,47 +0,0 @@ -# arguments for drone -# See also http://readme.drone.io/admin/installation-reference/ -#DRONE_SECRET= -#DRONE_DEBUG=false -#DRONE_SERVER_CERT= -#DRONE_SERVER_KEY= -#DRONE_ADMIN= -#DRONE_ORGS= -#DRONE_OPEN=false -#DRONE_YAML=.drone.yml -#DRONE_CACHE_TTY=15m -DRONE_DATABASE_DRIVER=sqlite3 -DRONE_DATABASE_DATASOURCE="/var/lib/drone/drone.sqlite" -DRONE_GITHUB=true -#DRONE_GITHUB_URL=https://github.com -#DRONE_GITHUB_CLIENT= -#DRONE_GITHUB_SECRET= -#DRONE_GITHUB_SCOPE= -#DRONE_GITHUB_GIT_USERNAME= -#DRONE_GITHUB_GIT_PASSWORD= -#DRONE_GITHUB_PRIVATE_MODE=false -#DRONE_GITHUB_MERGE_REF=true -#DRONE_GITHUB_CONTEXT=continuous-integration/drone -#DRONE_GITHUB_SKIP_VERIFY=false -#DRONE_GOGS=false -#DRONE_GOGS_URL= -#DRONE_GOGS_GIT_USERNAME= -#DRONE_GOGS_GIT_PASSWORD= -#DRONE_GOGS_PRIVATE_MODE= -#DRONE_GOGS_SKIP_VERIFY=false -#DRONE_BITBUCKET=false -#DRONE_BITBUCKET_CLIENT= -#DRONE_BITBUCKET_SECRET= -#DRONE_STASH=false -#DRONE_STASH_URL= -#DRONE_STASH_CONSUMER_KEY= -#DRONE_STASH_CONSUMER_RSA= -#DRONE_STASH_GIT_USERNAME= -#DRONE_STASH_GIT_PASSWORD= -#DRONE_GITLAB=false -#DRONE_GITLAB_URL=https://gitlab.com -#DRONE_GITLAB_CLIENT= -#DRONE_GITLAB_SECRET= -#DRONE_GITLAB_GIT_USERNAME= -#DRONE_GITLAB_GIT_PASSWORD= -#DRONE_GITLAB_SKIP_VERIFY=false -#DRONE_GITLAB_PRIVATE_MODE=false diff --git a/dev-util/drone/files/drone-server.initd b/dev-util/drone/files/drone-server.initd index fe87c713db9e..4294ef9b74dc 100644 --- a/dev-util/drone/files/drone-server.initd +++ b/dev-util/drone/files/drone-server.initd @@ -3,12 +3,23 @@ # Distributed under the terms of the GNU General Public License v2 description="Drone CI" -pidfile=${pidfile:-"/run/${SVCNAME}/${SVCNAME}.pid"} +pidfile=${pidfile:-"/run/${RC_SVCNAME}/${RC_SVCNAME}.pid"} user=${user:-drone} group=${group:-drone} command="/usr/bin/drone-server" command_background="true" -start_stop_daemon_args="--user ${user} --group ${group} \ - --stdout /var/log/${SVCNAME}/${SVCNAME}.log \ - --stderr /var/log/${SVCNAME}/${SVCNAME}.log" +command_args="-env-file /etc/${RC_SVCNAME}.conf" +start_stop_daemon_args=" + --user ${user} + --group ${group} + --stderr /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log + --stdout /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log + " + +start_pre() { + [ -e /etc/${RC_SVCNAME}.conf ] && return + eerror "You need to create /etc/${RC_SVCNAME}.conf" + eerror "See http://docs.drone.io/server/reference/ for information." + return 1 +} diff --git a/dev-util/drone/files/drone-server.service b/dev-util/drone/files/drone-server.service new file mode 100644 index 000000000000..53f019a6a8bf --- /dev/null +++ b/dev-util/drone/files/drone-server.service @@ -0,0 +1,25 @@ +[Unit] +Description=Drone CI +Documentation=https://docs.drone.io/ + +After=mysqld.target +After=network.target +After=postgresql-9.6.service +After=postgresql-10.service +After=postgresql-11.service +After=postgresql-12.service +After=postgresql-13.service +After=postgresql-14.service +Requires=network.target + +[Service] +User=drone +Group=drone + +EnvironmentFile=/etc/drone-server.conf +ExecStart=/usr/bin/drone-server + +Restart=on-failure + +[Install] +WantedBy=multi-user.target |