mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
[fix] restart yunohost-api on jessie
This commit is contained in:
parent
4c2725df8f
commit
598b3bdc7c
1 changed files with 6 additions and 0 deletions
6
debian/postinst
vendored
6
debian/postinst
vendored
|
@ -4,4 +4,10 @@ then
|
|||
ln -s /etc/ssl/certs/ca-yunohost_crt.pem /usr/share/yunohost/admin/ca.crt
|
||||
fi
|
||||
chown -R www-data: /usr/share/yunohost/admin
|
||||
|
||||
if [ $(lsb_release -c | awk '{print $2}') = jessie ];
|
||||
then
|
||||
service yunohost-api stop
|
||||
fi
|
||||
|
||||
service yunohost-api restart
|
||||
|
|
Loading…
Reference in a new issue