mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-25 06:52:56 +02:00
This prevents PopCorn from printing warnings to tty1 because of a (not yet) available network connection. [skip ci]
10 lines
242 B
Bash
10 lines
242 B
Bash
#!/bin/sh
|
|
|
|
[ -r ./conf ] && . ./conf
|
|
|
|
: ${SERVER:=popcorn.voidlinux.org}
|
|
: ${PORT:=8001}
|
|
|
|
exec 2>&1
|
|
chpst -u _popcorn:_popcorn popcorn --server $SERVER --port $PORT
|
|
exec chpst -u _popcorn:_popcorn snooze popcorn --server $SERVER --port $PORT
|