Magellan Linux

Annotation of /smage/branches/alx07x-stable/extras/clustersystem/clustersystem-0.9.2-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 15205 - (hide annotations) (download)
Fri Aug 7 07:36:20 2020 UTC (3 years, 9 months ago) by niro
File size: 817 byte(s)
-release branches/alx07x-stable
1 niro 14308 # $Id$
2    
3     PNAME="clustersystem"
4     PVER="0.9.2"
5     PBUILD="r1"
6    
7     PKGTYPE="virtual"
8     PCAT="fake"
9    
10     DESCRIPTION="ALX Server Pakages based on kernel-2.6 layout with cluster features enabled"
11     HOMEPAGE="http://www.magellan-linux.net"
12    
13     DEPEND=">= fake/serversystem-0.9
14     >= sys-fs/drbd-utils-9
15     >= net-misc/keepalived-2"
16    
17     sminclude alx systemd
18    
19     src_install()
20     {
21     echo
22     echo "This is only a fake smage2 for ${PNAME}-${PVER}-${PBUILD}."
23     echo "No Package will be build."
24     echo
25     }
26    
27     postinstall()
28     {
29     # enable required services
30     mstartunit crond
31     mstartunit dropbear
32     mstartunit apache2
33     mstartunit mariadb
34    
35     # disable services controlled by keepalived
36     mstopunit tftpd.service
37     mstopunit tftpd.socket
38     mstopunit mcore-controld
39     mstopunit mcore-pxeconfig.service
40     mstopunit mcore-pxeconfig.timer
41    
42     # enable keepalive
43     mstartunit keepalived
44     }