Lines 77-82
start_zebra_instance()
Link Here
|
77 |
|
77 |
|
78 |
if is_enabled $instancename; then |
78 |
if is_enabled $instancename; then |
79 |
echo "Starting Zebra server for $instancename" |
79 |
echo "Starting Zebra server for $instancename" |
|
|
80 |
touch "/var/log/koha/$instancename/zebra-error.log" \ |
81 |
"/var/log/koha/$instancename/zebra.log" \ |
82 |
"/var/log/koha/$instancename/zebra-output.log" |
83 |
chown "$instancename-koha:$instancename-koha" \ |
84 |
"/var/log/koha/$instancename/zebra-error.log" \ |
85 |
"/var/log/koha/$instancename/zebra.log" \ |
86 |
"/var/log/koha/$instancename/zebra-output.log" |
80 |
daemon \ |
87 |
daemon \ |
81 |
--name="$instancename-koha-zebra" \ |
88 |
--name="$instancename-koha-zebra" \ |
82 |
--errlog="/var/log/koha/$instancename/zebra-error.log" \ |
89 |
--errlog="/var/log/koha/$instancename/zebra-error.log" \ |
83 |
- |
|
|