This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
freebsd:merc_etc [2015/05/05 13:19] tschulz [Storing Open Source Configs in Mercurial] |
freebsd:merc_etc [2015/05/05 13:20] tschulz [Setup Script] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Storing Open Source Configs in Mercurial ====== | + | ====== Storing Open Source Configs in Mercurial (BSD) ====== |
* One of the best features about revision control systems is that nothing is ever deleted, so it would be really handy to store server configs in a distributed revision control system like mercurial. The following is one way this can be accomplished without the administrator is remember to run commits | * One of the best features about revision control systems is that nothing is ever deleted, so it would be really handy to store server configs in a distributed revision control system like mercurial. The following is one way this can be accomplished without the administrator is remember to run commits | ||
Line 32: | Line 32: | ||
chmod 755 commit_configs.sh | chmod 755 commit_configs.sh | ||
/scripts/commit_configs.sh | /scripts/commit_configs.sh | ||
- | cd /etc/cron.daily | + | cd /etc/periodic/daily/ |
ln -s /scripts/commit_configs.sh | ln -s /scripts/commit_configs.sh | ||
</file> | </file> |