Finished up switching from .sh to .py

This commit is contained in:
Ionut Filip
2018-10-23 11:58:36 +03:00
parent 0e5606d493
commit 1187cac5e1
10 changed files with 17 additions and 33 deletions

10
webmails/roundcube/start.py Executable file
View File

@@ -0,0 +1,10 @@
#!/usr/bin/python3
import os
# Fix some permissions
os.system("mkdir -p /data/gpg")
os.system("chown -R www-data:www-data /data")
# Run apache
os.execv("/usr/local/bin/apache2-foreground", ["apache2-foreground"])