Contents of /smage/trunk/extras/clustersystem/clustersystem-0.9.2-r1.smage2
Parent Directory | Revision Log
Revision 14308 -
(show annotations)
(download)
Wed Jul 8 09:37:00 2020 UTC (4 years, 2 months ago) by niro
File size: 817 byte(s)
Wed Jul 8 09:37:00 2020 UTC (4 years, 2 months ago) by niro
File size: 817 byte(s)
-ver bump to 0.9.2
1 | # $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 | } |