Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jorgicio/ed92cfb576483aec012b7ad668fccc55 to your computer and use it in GitHub Desktop.
Save jorgicio/ed92cfb576483aec012b7ad668fccc55 to your computer and use it in GitHub Desktop.
EbuildsGentoo/jorgicio-gentoo/app-laptop/prey/files/prey-agent
#!/sbin/openrc-run
#
ARCH=$(uname -m)
[[ $ARCH == "x86_64" ]] && SUFFIX="64" || SUFFIX="32"
pidfile="/var/run/prey-agent.pid"
command="/usr/lib${SUFFIX}/prey/bin/prey"
description="The Prey Agent Daemon"
start_stop_daemon_args="-b -n --pidfile ${pidfile}"
command_user="prey:prey"
command_background=true
name="Prey Agent"
depend() {
need dbus
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment