Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[dev-db/mysql-init-scripts] allow slotted mysqld instances

  • Loading branch information...
commit 4c4233646731f84439134f48ae79144e96c0d991 1 parent 04b4cd0
@lxnay lxnay authored
View
4 dev-db/mysql-init-scripts/Manifest
@@ -4,6 +4,6 @@ AUX mysql-5.1.67-init.d 3289 SHA256 a08df7aa811607f45a40ee1a4aa56eff569568f9bc69
AUX mysql.conf 37 SHA256 08daa863ddd50aff0b608621ed26936919211e286440951dca5866141291004d SHA512 7b4940666d21f09fda47e2b24bd252c83af4372f34f1b3410c59d8f439fb7c0166d5a1b8d857bf67f2263f15d95a0fa0b67f225152a18c180b67d28f4ceb5f00 WHIRLPOOL e2765bf32478fa6d3362760845188bc25b5e2a280cac66dc453b593445d8eaa0af4c92704ed20b4561377771b354605477d8cb5420937d1e9f970e0b4b106d85
AUX mysqld-prepare-db-dir 2552 SHA256 b68ee335d150dd7adff1cf389c5b9544614c76c5185aebc4a1793ba21d3f59a0 SHA512 fcfff2f4bb88f48603c36141fd7a755f012b5c8f6053d928bd3e4d47623a7160de064c08893b3b9fba3b052fb08e1e255cc441a2c1665dee57b373beb9d4b0ae WHIRLPOOL ab2f14184c76eea0def32beb70540ca5d2a1bab32236171afea9a42210a46041c82b0fd784626a8226c91b440e2a078aedfca14683fc310415f943d1d9aad50c
AUX mysqld-wait-ready 1758 SHA256 98d845897c4098e4a3ca62cd3bad26a6fc2565a33737f1d1c91f9c98006c7157 SHA512 ad4a850d045149df156c8236ae114e94887626e3ca803dea9bcc3909349043b51357a71ac17d694e0217f7856e076a0736267fc1ea3dedbef8a319fc9014c01b WHIRLPOOL fb748c13658d276c061a44ffd488eeb2cf002df20ee94b5aa600175fa776e099211f89343d1322bbf03ddaebbafb30208e615ad78eb1fbedb26f77232662907b
-AUX mysqld.service 1411 SHA256 9d141935df0dbefd75a84c57a1550141bea27e3afdca8ef9f26b8c12f3575599 SHA512 9c9cf800705ea9fc52cfa3873aad4721ae455b3a3ce8ef08ca71a5af6a6cb886f9f222356a20348ef1d83c63ea128ececdd2b583ccb456a624ff26221b2714ed WHIRLPOOL 81ebd52e4c4f82c06464b278257d2f9587c2528c5e5ec2519970317c346fef0b6b6c9fbab3b28f639cad55f036559465268567de3c020b93d793cfc86157f6ed
-EBUILD mysql-init-scripts-2.0_pre1-r3.ebuild 2048 SHA256 1c4a7a7e87315a89bcfd5bfdbce7ff49fac493853e008469e7209a6ca8190d04 SHA512 6858d34342766c0ccc956083f555717637ff81349be5c1e27627929929558b2c302782201673522840e999c4d30c261b60f0b82f17fa450043da05535cab0a01 WHIRLPOOL 0a5a09cc38e0a3b8dc43ab8f928b01cc429a4fac03a7d9524c9dc354eac32a7810f64b00139362b3de2c4aa91903e4ab54b042965136b1ca3816c14d0b4a8db3
+AUX mysqld_at.service 1487 SHA256 2c6220f03ffa0fdc8796f87694fdeacf38b0b9287754274d2c0b2a370c21f825 SHA512 94a57bad49e28a16478c98d395042bcf56d2fb6560cf5d33974311b0033edffad0b5167d27bcbc2522f53a717ae13ae3e7a8ea6a52a6266884ed3f8666ee9376 WHIRLPOOL e7f569fc1490f19ab3024ce7fdcd4ddd8b39d90114ce02d4383b19da9262548b6aa059cd0c7bfb398cd3af1c65c1aa74be8d1f8fff863c7d659c498a7b286387
+EBUILD mysql-init-scripts-2.0_pre1-r4.ebuild 2070 SHA256 f4096917145cab5ba24d147ade278886fc069bb26b1a8e86f7464db2f5035789 SHA512 57be85743ba80dc683a6711cd251aefcad1b0e8da51ffd6baf5c4c30e9e14e90341eaeb557556074636fac2d36d6d6b3ae16e63a52966973f0fa7a8217548b8d WHIRLPOOL ffbc7f1a580a9f1d65a05877f4829e0f0ecdf53fc5c94fd0607784d9c37bf3823721e39bed11c0bca3eeb3a6f9bd3e67c75dd032d2eddb4aa6cda1f048fcde5b
MISC metadata.xml 159 SHA256 5cfd5aa0e8104c0326b5f4c9205a6449a94e0f6f6abfd2626f1e7a8fe77b98b7 SHA512 f06513333c3d0b329da5d8ea142c0dbd58d9c40c559d92ae4b0ac7e5fae848f56a832867c79f6931148de7d97302b690ce676f911d477e85ebab7798ce198d92 WHIRLPOOL b99390a39596639a5903a470d8a00dcfdc001c2cd70631526b1586b9a32893c00692fcb19cb2764979f128318dd01782be4d3a84ad82ee202da77d908d56c0b5
View
3  ...b/mysql-init-scripts/files/mysqld.service → ...ysql-init-scripts/files/mysqld_at.service
@@ -19,6 +19,7 @@
[Unit]
Description=MySQL database server
+ConditionPathExists=/etc/mysql/my%I.cnf
After=syslog.target
After=network.target
@@ -30,7 +31,7 @@ Group=mysql
ExecStartPre=/usr/libexec/mysqld-prepare-db-dir %n
# Note: we set --basedir to prevent probes that might trigger SELinux alarms,
# per bug #547485
-ExecStart=/usr/bin/mysqld_safe --basedir=/usr
+ExecStart=/usr/bin/mysqld_safe --defaults-file=/etc/mysql/my%I.cnf --basedir=/usr
ExecStartPost=/usr/libexec/mysqld-wait-ready $MAINPID
# Give a reasonable amount of time for the server to start up/shut down
View
2  ...pts/mysql-init-scripts-2.0_pre1-r3.ebuild → ...pts/mysql-init-scripts-2.0_pre1-r4.ebuild
@@ -28,7 +28,7 @@ src_install() {
# systemd unit installation
exeinto /usr/libexec
doexe "${FILESDIR}"/{mysqld-prepare-db-dir,mysqld-wait-ready}
- systemd_dounit "${FILESDIR}/mysqld.service"
+ systemd_newunit "${FILESDIR}/mysqld_at.service" "mysqld@.service"
systemd_dotmpfilesd "${FILESDIR}/mysql.conf"
}
Please sign in to comment.
Something went wrong with that request. Please try again.