blob: 38f0046d9887246fc88be3f684d39c4974e2e583 (
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
|
post_install() {
echo "To make gonic fully functional, consider performing the following actions:"
echo " + Configure the gonic daemon:"
echo " $ sudo vim /usr/lib/systemd/system/gonic.service"
echo " + Start the gonic daemon:"
echo " $ sudo systemctl start gonic"
echo " + (OPTIONAL) Start the gonic daemon at boot:"
echo " $ sudo systemctl enable gonic"
echo " + (OPTIONAL) Add the gonic user to the audio group to support jukebox mode:"
echo " $ sudo gpasswd -a gonic audio"
}
pre_upgrade() {
systemctl stop gonic
}
post_upgrade() {
systemctl daemon-reload
}
pre_remove() {
systemctl stop gonic
}
post_remove() {
systemctl daemon-reload
}
|