File: run

package info (click to toggle)
runit-services 0.10.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 404 kB
  • sloc: sh: 477; makefile: 2
file content (12 lines) | stat: -rwxr-xr-x 355 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env /lib/runit/invoke-run
#Copyright: 2024 Andrew Bower <andrew@bower.uk>
#License: BSD-3-Clause

exec 2>&1

# Start daemon. See lldpd(8):
#  - 1st '-d' prevents autodaemonisation
#  - 2nd '-d' logs to stderr rather than syslog
#  - 3rd '-d' enables verbose logging
#  - a 4th '-d' would enable debug logging
exec ##bin## -d -d -d $DAEMON_ARGS