Created
March 5, 2020 22:28
-
-
Save jorgicio/ed92cfb576483aec012b7ad668fccc55 to your computer and use it in GitHub Desktop.
EbuildsGentoo/jorgicio-gentoo/app-laptop/prey/files/prey-agent
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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