2021-08-28 10:40:13 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
if [ ! -e "cinera.conf" ]; then
|
|
|
|
echo "Can't find cinera.conf"
|
|
|
|
exit
|
|
|
|
fi
|
|
|
|
. cinera.conf
|
|
|
|
|
2021-09-04 20:19:12 +00:00
|
|
|
systemctl stop cinera.service
|
2021-08-28 10:40:13 +00:00
|
|
|
|
|
|
|
CMD="cd $CINERA_SCRIPT_PATH; ./user_update_cinera.sh"
|
|
|
|
|
|
|
|
su - $ANNOTATIONS_USER -c "$CMD"
|
|
|
|
|
2021-09-04 20:19:12 +00:00
|
|
|
systemctl start cinera.service
|