Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
SME Server:Documentation:Developers Manual:Chapter13
(view source)
Revision as of 00:05, 27 November 2008
28 bytes added
,
00:05, 27 November 2008
→Building an RPM
Line 143:
Line 143:
cp -p /tmp/createlinks .
cp -p /tmp/createlinks .
+
# The DB fragments should be created as files
+
mkdir -p root/etc/e-smith/db/configuration/defaults/loggerdemo
+
echo "service" > !$/type
+
echo "enabled" > !$/status
+
echo "10" > !$/Interval
+
Your directory structure should now look like this:
Your directory structure should now look like this:
Line 150:
Line 156:
./root/etc/e-smith/web/functions/loggerdemo
./root/etc/e-smith/web/functions/loggerdemo
./root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/loggerdemo.pm
./root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/loggerdemo.pm
+
./root/etc/e-smith/db/configuration/defaults/loggerdemo/{type|status|Interval}
./createlinks
./createlinks
Line 185:
Line 192:
%build
%build
perl createlinks
perl createlinks
−
−
## NEW ADVICE, DB fragments should be created as files
−
DEFAULTS=root/etc/e-smith/db/configuration/defaults/loggerdemo
−
mkdir -p $DEFAULTS
−
−
echo "service" > $DEFAULTS/type
−
echo "enabled" > $DEFAULTS/status
−
echo "10" > $DEFAULTS/Interval
%install
%install
Snoble
Administrators
2,569
edits
Navigation menu
Personal tools
Log in
Namespaces
Project page
Discussion
Variants
Views
Read
View source
View history
More
Search
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version