parlay

yet another gentoo overlay
git clone https://git.parazyd.org/parlay
Log | Files | Refs | README

signald.initd (530B)


      1 #!/sbin/openrc-run
      2 # Copyright 1999-2023 Gentoo Authors
      3 # Distributed under the terms of the GNU General Public License v2
      4 
      5 name="signald daemon"
      6 description="an API for Signal"
      7 
      8 pidfile="/run/${RC_SVCNAME}.pid"
      9 command="/usr/bin/signald"
     10 command_args="-d /var/lib/signald -s /tmp/signald.sock --system-socket"
     11 command_background=true
     12 command_user="signald:signald"
     13 
     14 output_log="/var/log/signald.log"
     15 error_log="/var/log/signald.log"
     16 
     17 depend() {
     18 	need net
     19 }
     20 
     21 start_pre() {
     22 	checkpath -f -m 0644 -o "$command_user" "$output_log"
     23 }