glen at pld-linux.org
Wed Feb 2 08:55:56 CET 2011
On 01.02.2011 20:58, Pawel Golaszewski wrote:
> On Tue, 1 Feb 2011, Przemyslaw Iskra wrote:
>> rc-scripts-user / userscripts allows normal users to schedule and
>> execute tasks on system startup and shutdown. Please test and comment.
>> Once it gets on any production system it will be hard to change
>> interface without breaking user configuration.
>> The interface is:
>> * All scripts in ~/.config/init.d/ (hardcoded path, no xdg support)
>> - any better ideas ?
symmetric to /etc/init then ~/.config/init would be scripts for upstart,
so i'd say ~/.config/init.d is fine
xdg itself is simple, but loading user configuration to it, is
difficult, so i'd say leave hardcoded .config, this can be changed later
if somebody really interested :)
>> * all *~ and *.bak files are ignored
>> - ignore something else ?
> .rpmnew, .rpmsave...
> There is few more temporary filetypes.
i suggest to process only extensions *.sh and *.init, whitelisting
always works better than blacklisting.
More information about the pld-devel-en