Restart pleroma daemon after restore

This commit is contained in:
Bob Mottram 2018-02-08 12:33:34 +00:00
parent efa147b2c5
commit 4987bba4a0
1 changed files with 2 additions and 2 deletions

View File

@ -778,7 +778,7 @@ function restore_local_pleroma {
chown -R pleroma:pleroma $pleroma_dir chown -R pleroma:pleroma $pleroma_dir
rm -rf $temp_restore_dir rm -rf $temp_restore_dir
fi fi
pleroma_update_after_restore pleroma ${PLEROMA_DOMAIN_NAME} systemctl restart pleroma
echo $"Restore of pleroma complete" echo $"Restore of pleroma complete"
fi fi
@ -833,7 +833,7 @@ function restore_remote_pleroma {
rm -rf $temp_restore_dir rm -rf $temp_restore_dir
fi fi
pleroma_update_after_restore pleroma ${PLEROMA_DOMAIN_NAME} systemctl restart pleroma
echo $"Restore of pleroma complete" echo $"Restore of pleroma complete"
fi fi