Files
main/server/web/nginx/comar/package.py
T
2019-07-25 20:05:24 +03:00

9 lines
235 B
Python

#!/usr/bin/python
# -*- coding: utf-8 -*-
import os
def postInstall(fromVersion, fromRelease, toVersion, toRelease):
os.system("/bin/chown -R nginx:nginx /var/lib/nginx")
os.system("/bin/chown -R nginx:nginx /var/log/nginx")