From b8720bdb424de5c45ba4ce605031f38de38febdf Mon Sep 17 00:00:00 2001 From: James Meyer <james.meyer@operamail.com> Date: Tue, 4 Sep 2012 16:08:21 -0500 Subject: mythdb-initial: set start/stop commands for mythbackend --- abs/core/mythdb-initial/PKGBUILD | 4 ++-- abs/core/mythdb-initial/custom.sql | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/abs/core/mythdb-initial/PKGBUILD b/abs/core/mythdb-initial/PKGBUILD index 1063c62..0c19392 100755 --- a/abs/core/mythdb-initial/PKGBUILD +++ b/abs/core/mythdb-initial/PKGBUILD @@ -1,6 +1,6 @@ pkgname=mythdb-initial pkgver=2 -pkgrel=30 +pkgrel=31 pkgdesc="setup the initial mythtv database for linhes" url="" license="" @@ -21,4 +21,4 @@ build() { } md5sums=('9dcf8c574e69fde6b1b2fa1eed95ded4' 'ad0e57ac5e7c3677808a670e16634bba' - '0f47a219b3fa2bb8e62f7436af990600') + 'cd56c11b9ccf521e02b5c6a0996a9b4f') diff --git a/abs/core/mythdb-initial/custom.sql b/abs/core/mythdb-initial/custom.sql index ddc99c7..7d582d0 100644 --- a/abs/core/mythdb-initial/custom.sql +++ b/abs/core/mythdb-initial/custom.sql @@ -75,7 +75,9 @@ INSERT INTO `storagegroup` (`groupname`, `hostname`, `dirname`) VALUES ('DB Backups' ,'apheleia' ,'/data/storage/disk0/backup/mythtv_backups'); INSERT INTO `settings` (`value`, `data`, `hostname`) VALUES -('SecurityPin','0000','apheleia'); +('SecurityPin','0000','apheleia'), +('BackendStopCommand','sudo sv stop mythbackend' ,'apheleia'), +('BackendStartCommand','sudo sv start mythbackend' ,'apheleia'); -- cgit v0.12