Skip to content

Instantly share code, notes, and snippets.

@marcelog
Created July 9, 2017 15:24
Show Gist options
  • Save marcelog/73366a7f7c85bb3af2d9ff0c257d75b0 to your computer and use it in GitHub Desktop.
Save marcelog/73366a7f7c85bb3af2d9ff0c257d75b0 to your computer and use it in GitHub Desktop.
log/run file for running an android emulator instance with daemontools
#!/bin/bash
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/command
exec 2>&1
mkdir -p /var/log/myemu
chown -R myemuuser:myemuuser /var/log/myemu
exec envuidgid myemuuser multilog t s10485760 n5 '!tai64nlocal' /var/log/myemu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment