1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-23 06:34:55 +00:00
Arsse/dist/arch/arsse.sh
2021-05-18 09:46:42 -04:00

10 lines
231 B
Bash

#! /usr/bin/php
<?php
if (posix_geteuid() == 0) {
$info = posix_getpwnam("arsse");
if ($info) {
posix_setgid($info['gid']);
posix_setuid($info['uid']);
}
}
require "/usr/share/webapps/arsse/arsse.php";