Skip to content
Snippets Groups Projects
Commit 9e4db386 authored by ale's avatar ale
Browse files

Create /var/lib/ dir on postinstall

parent eab95733
No related branches found
No related tags found
No related merge requests found
......@@ -22,10 +22,15 @@ set_capabilities() {
setcap cap_net_bind_service=+ep /usr/bin/radiod
}
create_rundir() {
install -d -m 700 -o icecast2 /var/lib/autoradio
}
case "$1" in
configure)
set_capabilities
create_rundir
;;
abort-upgrade|abort-remove|abort-deconfigure)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment