diff --git a/dist/arch/arsse b/dist/arch/arsse index 6f64ca6f..0ccc645a 100644 --- a/dist/arch/arsse +++ b/dist/arch/arsse @@ -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 diff --git a/dist/tmpfiles.conf b/dist/tmpfiles.conf index f5e6ed18..8e4c86cc 100644 --- a/dist/tmpfiles.conf +++ b/dist/tmpfiles.conf @@ -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 \ No newline at end of file