1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-23 09:02:41 +00:00
Arsse/dist/arch/arsse.sh

11 lines
231 B
Bash
Raw Normal View History

2021-05-17 22:03:47 +00:00
#! /usr/bin/php
<?php
2021-05-18 13:46:42 +00:00
if (posix_geteuid() == 0) {
$info = posix_getpwnam("arsse");
if ($info) {
posix_setgid($info['gid']);
posix_setuid($info['uid']);
}
}
2021-05-17 22:03:47 +00:00
require "/usr/share/webapps/arsse/arsse.php";