This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
packages:userscripts [2011-02-01 20:43] SamChi - no time to waste |
packages:userscripts [2011-02-02 21:37] (current) SamChi - note about restart and reload |
||
---|---|---|---|
Line 7: | Line 7: | ||
===== how to use ===== | ===== how to use ===== | ||
- | Create ~/.config/init.d/script_name. It must accept one argument, it will be either "start" or "stop". | + | Create ~/.config/init.d/script_name.init. It must accept one argument, it will be either "start" or "stop". Scripts must also allow "restart" and "reload" arguments, but are not required to perform any action in those cases. |
Line 15: | Line 15: | ||
==== irssi ==== | ==== irssi ==== | ||
- | ~/.config/init.d/irssi | + | ~/.config/init.d/irssi.init |
Line 65: | Line 65: | ||
==== dropbox ==== | ==== dropbox ==== | ||
- | ~/.config/init.d/dropbox | + | ~/.config/init.d/dropbox.init |