diff options
author | Brad Peters <brad.t.peters@intel.com> | 2014-08-27 11:37:43 -0700 |
---|---|---|
committer | José Bollo <jose.bollo@open.eurogiciel.org> | 2014-12-22 10:37:57 +0100 |
commit | f1d27462b3c5d5f30b1ea9cee0bfd650d9947d7e (patch) | |
tree | e1e577ae29003eeeb86ecc0e862385904d1aae76 | |
parent | 51ea6c34a67f45cbaacbb491bf1eb5b17e7cee49 (diff) | |
download | buxton-f1d27462b3c5d5f30b1ea9cee0bfd650d9947d7e.tar.gz buxton-f1d27462b3c5d5f30b1ea9cee0bfd650d9947d7e.tar.bz2 buxton-f1d27462b3c5d5f30b1ea9cee0bfd650d9947d7e.zip |
packaging: Add buxton user creation to spec
This is necessary for the initial DB's to be created
properly, and for the service to run as 'buxton'
Change-Id: Id084518850a8bcfd694bb0952cab5526f3dcc92e
-rw-r--r-- | packaging/buxton.spec | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packaging/buxton.spec b/packaging/buxton.spec index 8e0f55e..6c96bad 100644 --- a/packaging/buxton.spec +++ b/packaging/buxton.spec @@ -62,6 +62,9 @@ install -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/buxton.conf %post /sbin/ldconfig +#buxtond runs as user buxton, which much be created +useradd buxton + buxtonctl create-db base buxtonctl create-db isp if [ "$1" -eq 1 ] ; then |