Changes

From SME Server
Jump to navigationJump to search
Line 50: Line 50:  
  event_link("yum-check-repository", "yum-update", "40");
 
  event_link("yum-check-repository", "yum-update", "40");
   −
 
+
==== Example 2 : Sme8admin====
 +
#! /usr/bin/perl -w
 +
 +
use esmith::Build::CreateLinks qw(:all);
 +
 +
# Start and stop links
 +
service_link_enhanced("sme8admind", "S99", "7");
 +
service_link_enhanced("sme8admind", "K97", "6");
 +
service_link_enhanced("sme8admind", "K20", "0");
 +
service_link_enhanced("sme8admind", "K20", "1");
 +
 +
# Links for the panel
 +
panel_link("sme8admin", "manager");
 +
#system("mkdir -p root/etc/e-smith/web/panels/manager/html/sme8admin");
 +
safe_symlink("/etc/e-smith/web/panels/manager/html/sme8admin", "root/etc/e-smith/web/panels/user/html/sme8admin");
 +
 +
# Logrotate
 +
event_link("sme8admin-parselog","logrotate","15");
 
[[Category:SME Server Development Framework]]
 
[[Category:SME Server Development Framework]]
 
[[Category:Development Tools]]
 
[[Category:Development Tools]]
 
[[Category:SME9-Development]]
 
[[Category:SME9-Development]]

Navigation menu