FAQ

On Wed, Apr 15, 2015 at 03:55:34PM -0500, Les Mikesell wrote:
Is there a generic way that processes written to share files with
(say) apache in /tmp can figure out that they are running on an OS
with systemd and in that case, where the daemon in question thinks
/tmp is?

For example, twiki has a backup/restore add-in where the backup part
is normally done from cron with a command line script but the
resulting archives that go in /tmp are supposed to be seen in the web
interface where you can choose and restore from them. How should that
have been written so the file lands where systemd has remapped /tmp
for httpd if it happens to be running on a host with systemd?

Why does this directory have to be /tmp rather than a specific
directory belonging to twiki?




--
Matthew Miller
<mattdm@fedoraproject.org>
Fedora Project Leader

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 14 | next ›
Discussion Overview
groupcentos @
categoriescentos
postedApr 15, '15 at 8:55p
activeApr 16, '15 at 2:48p
posts14
users4
websitecentos.org
irc#centos

People

Translate

site design / logo © 2021 Grokbase