File: run

package info (click to toggle)
runit-services 0.10.1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 404 kB
  • sloc: sh: 477; makefile: 2
file content (14 lines) | stat: -rwxr-xr-x 308 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env /lib/runit/invoke-run
#Copyright: 2022 Lorenzo Puliti <plorenzo@disroot.org>
#License: CC0-1.0

exec 2>&1

[ -f /etc/postfix/main.cf ] || exit 162
##bin## check || exit 162

#main.cf: log to stdout
postconf maillog_file=/dev/stdout
postconf postlog_service_name=postlog

exec ##bin## start-fg