PopCorn: add logging

This prevents PopCorn from printing warnings to tty1 because of a (not
yet) available network connection.
[skip ci]
This commit is contained in:
Antz 2019-11-26 19:02:35 +01:00 committed by Michael Aldridge
parent 2e82f8a34e
commit cc07b967a8
3 changed files with 4 additions and 1 deletions

View file

@ -0,0 +1,2 @@
#!/bin/sh
exec vlogger -t popcorn

View file

@ -5,5 +5,6 @@
: ${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

View file

@ -1,7 +1,7 @@
# Template file for 'PopCorn'
pkgname=PopCorn
version=0.4
revision=1
revision=2
build_style=go
go_import_path=github.com/the-maldridge/popcorn
go_package="${go_import_path}/cmd/popcorn