FS#38448 - [motion] tmpfiles does not execute after install

Attached to Project: Community Packages
Opened by Sebastiaan Lokhorst (lonaowna) - Saturday, 11 January 2014, 00:59 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 13 January 2014, 10:02 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Hi,

Please add the following to the pkgbuild so the daemon can be started straight after installation, without having to reboot or manually create /var/run/motion:

post_install() {
systemd-tmpfiles --create motion.conf
}

Thanks!
This task depends upon

Closed by  Sergej Pupykin (sergej)
Monday, 13 January 2014, 10:02 GMT
Reason for closing:  Fixed
Comment by Sebastiaan Lokhorst (lonaowna) - Saturday, 11 January 2014, 01:15 GMT
I'm sorry, this should be added in a .install file. But you probably know this better than me. :)

Loading...