mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-23 07:04:53 +00:00
10 lines
227 B
PHP
10 lines
227 B
PHP
#! /usr/bin/env php
|
|
<?php
|
|
if (posix_geteuid() == 0) {
|
|
$info = posix_getpwnam("arsse");
|
|
if ($info) {
|
|
posix_setgid($info['gid']);
|
|
posix_setuid($info['uid']);
|
|
}
|
|
}
|
|
require "/usr/share/arsse/arsse.php";
|