blob: d5bc1cbe8704e205037226b38d8439e855461199 (
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 /var/lib/gonic/config"
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
}
|