Re: [systemd-devel] Unit File: Create Folder With User Permissions

2014-05-05 Thread Tobias Hunger
Hi Austin, this does sound like a use-case for "RuntimeDirectory=". See http://www.freedesktop.org/software/systemd/man/systemd.exec.html for details. That is simpler and makes sure the directory is created/cleaned up as needed by systemd as the job is started/stopped. That is available since sys

Re: [systemd-devel] Unit File: Create Folder With User Permissions

2014-05-03 Thread Austin Matherne
Thank you, that worked perfectly. On Sat, May 3, 2014 at 3:14 AM, Kirill Elagin wrote: > That's how you do this in systemd: > http://pkgs.fedoraproject.org/cgit/couchdb.git/tree/couchdb.tmpfiles.conf > > https://projects.archlinux.org/svntogit/community.git/tree/trunk/couchdb.tmpfiles?h=package

Re: [systemd-devel] Unit File: Create Folder With User Permissions

2014-05-03 Thread Kirill Elagin
That's how you do this in systemd: http://pkgs.fedoraproject.org/cgit/couchdb.git/tree/couchdb.tmpfiles.conf https://projects.archlinux.org/svntogit/community.git/tree/trunk/couchdb.tmpfiles?h=packages/couchdb -- Кирилл Елагин On Sat, May 3, 2014 at 12:03 PM, Austin Matherne wrote: > I switche

[systemd-devel] Unit File: Create Folder With User Permissions

2014-05-03 Thread Austin Matherne
I switched my Gentoo install over to systemd today and pretty much everything worked flawlessly. The only exception was CouchDB, which lacks systemd support in Portage, so I'm left writing my own service file. I took a peak at the files for Fedora ( http://pkgs.fedoraproject.org/cgit/couchdb.git/t