blob: 24dfdc4eee5ae6237d12cdbfff3913f9284537c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
pre_upgrade() {
systemctl stop ombi.service
}
post_upgrade() {
if [ -f /opt/Ombi/Ombi.sqlite ]; then
mv /opt/Ombi/Ombi.sqlite /var/lib/ombi/Ombi.sqlite
fi
systemctl daemon-reload
systemctl start ombi.service
}
|