1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-23 06:04:53 +00:00
Arsse/dist/arsse

11 lines
227 B
Text
Raw Normal View History

2021-05-28 16:33:52 +00:00
#! /usr/bin/env php
2021-05-17 22:03:47 +00:00
<?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']);
}
}
require "/usr/share/arsse/arsse.php";