Permalink
Browse files

simplify service logging

  • Loading branch information...
frioux committed Oct 6, 2014
1 parent 02fcc83 commit aea7773158f9b05a3b86f652862e9f6ddd40a841
@@ -1,3 +1,3 @@
#!/bin/zsh
#!/bin/dash

exec tai64n <&0 | tai64nlocal| multilog /home/frew/log/cerberus
exec multilog t /home/frew/log/cerberus
@@ -1,3 +1,3 @@
#!/bin/zsh
#!/bin/dash

exec tai64n <&0 | tai64nlocal| multilog /home/frew/log/offlineimap
exec multilog t /home/frew/log/offlineimap
@@ -1,3 +1,3 @@
#!/bin/zsh
#!/bin/dash

exec tai64n <&0 | tai64nlocal| multilog /home/frew/log/syncthing
exec multilog t /home/frew/log/syncthing
@@ -1,3 +1,3 @@
#!/bin/zsh
#!/bin/dash

exec tai64n <&0 | tai64nlocal| multilog /home/frew/log/weather
exec multilog t /home/frew/log/weather

This file was deleted.

Oops, something went wrong.
@@ -1,4 +1,4 @@
#!/bin/zsh
#!/bin/dash

exec sudo -u frew \
./real <&0
multilog t /home/frew/log/frew <&0
@@ -1,4 +1,4 @@
#!/bin/zsh
#!/bin/dash

exec sudo -u frew \
tai64n <&0 | tai64nlocal| multilog /home/frew/log/vpn
multilog t /home/frew/log/vpn
@@ -60,6 +60,6 @@ alias unzip='replace-unzip'
alias cdroot='cd $(git rev-parse --show-toplevel)'
alias o='bash ~/code/dotfiles/zsh/todotxt/todo.sh'
alias srv='plackup -MPlack::App::Directory -e "Plack::App::Directory->new(root => q(.))" -p 5001'
alias svcs-tail='tail -F ~/log/**/current'
alias svcs-tail='tail -F ~/log/**/current | tai64nlocal'

# vim: ft=zsh foldmethod=marker

0 comments on commit aea7773

Please sign in to comment.