packages:userscripts
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
packages:userscripts [2011-02-01 18:12] – - extended/finished irssi script SamChi | packages:userscripts [2011-02-02 21:37] (current) – - note about restart and reload SamChi | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | |||
+ | |||
+ | ====== UserScripts ====== | ||
rc-scripts-user allows users to run scripts at system startup and shutdown. | rc-scripts-user allows users to run scripts at system startup and shutdown. | ||
- | Create ~/ | ||
- | Example | + | |
+ | ===== how to use ===== | ||
+ | Create | ||
+ | |||
+ | |||
+ | |||
+ | ====== Sample user scripts ====== | ||
+ | |||
+ | |||
+ | ==== irssi ==== | ||
+ | ~/ | ||
+ | |||
< | < | ||
+ | |||
+ | # TODO: replace pidof with something that takes into account | ||
+ | # only processes from this user | ||
# download fifo_remote.pl irssi script to control it remotelly | # download fifo_remote.pl irssi script to control it remotelly | ||
Line 42: | Line 59: | ||
install) | install) | ||
install_fifo_remote | install_fifo_remote | ||
+ | ;; | ||
+ | esac | ||
+ | </ | ||
+ | |||
+ | |||
+ | ==== dropbox ==== | ||
+ | ~/ | ||
+ | |||
+ | |||
+ | |||
+ | < | ||
+ | |||
+ | case " | ||
+ | start) | ||
+ | exec / | ||
+ | --pidfile $HOME/ | ||
+ | --exec / | ||
+ | ;; | ||
+ | stop) | ||
+ | exec / | ||
+ | --retry TERM/ | ||
+ | --pidfile $HOME/ | ||
;; | ;; | ||
esac | esac | ||
</ | </ | ||
packages/userscripts.1296580369.txt.gz · Last modified: 2011-02-01 18:12 by SamChi