blob: 029ef24af3f1b4f44ec0248888cf189bf17c677c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
post_install() {
mkdir -p /home/your_user/.minimserver/data
touch /home/your_user/.minimserver/data/minimserver.config
echo ".autoUpdate = false" >> /home/your_user/.minimserver/data/minimserver.config
chown -R your_user:users /home/your_user/.minimserver
echo "
========================================================================
To start minimserver:
/opt/minimserver/bin/startd
To stop minimserver
/opt/minimserver/bin/stopall
To start minimserver, you could also start the service unit file:
# systemctl --user start minimserver
To enable minimserver at boot:
# systemctl --user enable minimserver
To complete the configuration once the service has been started, point
your web browser to:
http://ipaddress:9790
Full documentation is available at:
http://www.minimserver.com/
*** IMPORTANT ***
Before starting minimserver for the first time please check if the directory /home/your_user/.minimserver/data exists.
If not, in a user terminal type the following commands:
mkdir -p /home/your_user/.minimserver/data
touch /home/your_user/.minimserver/data/minimserver.config
echo ".autoUpdate = false" >> /home/your_user/.minimserver/data/minimserver.config
========================================================================
"
}
post_upgrade() {
echo "
========================================================================
Before starting minimserver for the first time please check if the directory /home/your_user/.minimserver/data exists.
If not, in a user terminal type the following commands:
mkdir -p /home/your_user/.minimserver/data
touch /home/your_user/.minimserver/data/minimserver.config
echo ".autoUpdate = false" >> /home/your_user/.minimserver/data/minimserver.config
Full documentation is available at:
http://www.minimserver.com/
========================================================================
"
}
|