summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-09-04 21:08:21 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-09-04 21:08:21 (GMT)
commitb8720bdb424de5c45ba4ce605031f38de38febdf (patch)
tree2925c978e8bfdfcdf039298fa52a577a0eedf7f9 /abs/core
parentc23fd707e1cd4dd901a0ec5532aa0cbcecbd023e (diff)
downloadlinhes_pkgbuild-b8720bdb424de5c45ba4ce605031f38de38febdf.zip
linhes_pkgbuild-b8720bdb424de5c45ba4ce605031f38de38febdf.tar.gz
linhes_pkgbuild-b8720bdb424de5c45ba4ce605031f38de38febdf.tar.bz2
mythdb-initial: set start/stop commands for mythbackend
Diffstat (limited to 'abs/core')
-rwxr-xr-xabs/core/mythdb-initial/PKGBUILD4
-rw-r--r--abs/core/mythdb-initial/custom.sql4
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');