Hi guys,
I'm trying to refresh my apache knowledge by putting together small services on my LAN.
I'm wondering what are the best practices when it comes to run a php script as a deamon with the apache account on Slackware 14.1
By security, Slackware ships the apache account with a fake shell
which can't run anything at all (of course)
Basically, here's the command I need to run as a daemon :
Code:
php ./update.php daemon
It's meant to update RSS feeds retrived by Tiny Tiny RSS.
The folder is owned by apache:apache so running the script with any other account might result in permissions conflicts.
I've though about giving the apache user a restricted shell and then, run said command in a screen instance.
Any thoughts on this ?
Tiny Tiny RSS related documentation
Cheers.