diff options
author | Juergen Daubert <jue@jue.li> | 2019-03-19 17:08:00 +0100 |
---|---|---|
committer | Juergen Daubert <jue@jue.li> | 2019-03-19 17:08:00 +0100 |
commit | 8fd37b8d4e3eddfac027c95e526309bf3379e63a (patch) | |
tree | 601f1e63aef4aaf2b5ca655961fa251e44454769 /mariadb | |
parent | a8300db910d5b411c531943e62a1cc7cf6fdb1c5 (diff) | |
download | opt-8fd37b8d4e3eddfac027c95e526309bf3379e63a.tar.gz opt-8fd37b8d4e3eddfac027c95e526309bf3379e63a.tar.xz |
mariadb: fix rc script for new start-stop-daemon
Diffstat (limited to 'mariadb')
-rw-r--r-- | mariadb/.signature | 6 | ||||
-rw-r--r-- | mariadb/Pkgfile | 2 | ||||
-rwxr-xr-x | mariadb/mariadb | 5 |
3 files changed, 7 insertions, 6 deletions
diff --git a/mariadb/.signature b/mariadb/.signature index 5161f0ff4..3a94dcdc5 100644 --- a/mariadb/.signature +++ b/mariadb/.signature @@ -1,6 +1,6 @@ untrusted comment: verify with /etc/ports/opt.pub -RWSE3ohX2g5d/WHXgFfhqCFHrZlQn/FBt5Bxxt3PknY6Io3axYNuZzoJxWGLdDUgzS3T9/7fN+u4Dg0qRTHwp38hGVu2kFif2AI= -SHA256 (Pkgfile) = 022555aea9896f55adc8a8a4200c27eb402a6a0fd22f54e44133dd2f13e99097 +RWSE3ohX2g5d/YLIO1wAdnWrdjJJZMYqVJzvjEKhXHTJKUTvqUnmnmpLxuEFsdDEsXIdwUQxso/SDLRDWRPH08tsnbSZaL/Z+gs= +SHA256 (Pkgfile) = 5caeefaeb5984d603cd8852c0e3efb410981f25584cce89096ad91c241cf45c1 SHA256 (.footprint) = c82c3df99d9b6ce5dc0b57e1589e7a6778d8b9c2bee894e9fc633796e080dada SHA256 (mariadb-10.3.13.tar.gz) = b2aa857ef5b84f85a7ea60a1eac7b34c0ca5151c71a0d44ce2d7fb028d71459a -SHA256 (mariadb) = 2456087761d745cf6dfde7c1b5574b1f07f5dbe9e4ea74722bf19463c5cfbf32 +SHA256 (mariadb) = 737fe0eaad407e2b078ba21c1e4082dc4361da10354939ed4f6da651a76a8c1f diff --git a/mariadb/Pkgfile b/mariadb/Pkgfile index 04c91bde5..7285733f2 100644 --- a/mariadb/Pkgfile +++ b/mariadb/Pkgfile @@ -5,7 +5,7 @@ name=mariadb version=10.3.13 -release=1 +release=2 source=(https://downloads.mariadb.org/interstitial/$name-$version/source/$name-$version.tar.gz mariadb) diff --git a/mariadb/mariadb b/mariadb/mariadb index 3c0dce21f..6a112be6f 100755 --- a/mariadb/mariadb +++ b/mariadb/mariadb @@ -5,6 +5,7 @@ SSD=/sbin/start-stop-daemon PROG=/usr/sbin/mysqld +NAME=mysqld PID=/var/run/mysqld/mysqld.pid OPTS="--pid-file=$PID" @@ -13,14 +14,14 @@ start) $SSD --start -bC --pidfile $PID --exec $PROG -- $OPTS ;; stop) - $SSD --stop --remove-pidfile --retry 10 --pidfile $PID + $SSD --stop --remove-pidfile --retry 10 --name $NAME --pidfile $PID ;; restart) $0 stop $0 start ;; status) - $SSD --status --pidfile $PID + $SSD --status --name $NAME --pidfile $PID case $? in 0) echo "$PROG is running with pid $(cat $PID)" ;; 1) echo "$PROG is not running but the pid file $PID exists" ;; |