mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-22 13:12:41 +00:00
Run with the correct executable name visible to PHP
This commit is contained in:
parent
4131531bff
commit
f853851568
2 changed files with 3 additions and 2 deletions
4
dist/arch/arsse
vendored
4
dist/arch/arsse
vendored
|
@ -18,9 +18,9 @@ else
|
|||
fi
|
||||
|
||||
if [[ "${UID}" -eq 0 ]]; then
|
||||
runuser -u "arsse" -- "$php" /usr/share/webapps/arsse/arsse.php "$@"
|
||||
runuser -u "arsse" -- "$php" /usr/share/webapps/arsse/arsse "$@"
|
||||
else
|
||||
check_sudo
|
||||
sudo -u "arsse" "$php" /usr/share/webapps/arsse/arsse.php "$@"
|
||||
sudo -u "arsse" "$php" /usr/share/webapps/arsse/arsse "$@"
|
||||
fi
|
||||
|
||||
|
|
1
dist/tmpfiles.conf
vendored
1
dist/tmpfiles.conf
vendored
|
@ -2,3 +2,4 @@ z /usr/bin/arsse 0755 root arsse - -
|
|||
z /etc/arsse/config.php 0640 root arsse - -
|
||||
L /usr/share/arsse/config.php - root arsse - /etc/arsse/config.php
|
||||
d /var/lib/arsse 0750 arsse arsse - -
|
||||
L /usr/share/arsse/arsse - root arsse - /usr/share/arsse/arsse.php
|
Loading…
Reference in a new issue