Server : Apache System : Linux ks5.tuic.fr 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64 User : pragmatice ( 1003) PHP Version : 8.2.24 Disable Function : NONE Directory : /lib/systemd/system-generators/ |
#!/bin/sh set -e WANTDIR="$1/postfix.service.wants" SERVICEFILE="/lib/systemd/system/postfix@.service" mkdir -p "$WANTDIR" ln -s "$SERVICEFILE" "$WANTDIR/postfix@-.service" for DIR in $(postconf -h multi_instance_directories); do ln -s "$SERVICEFILE" "$WANTDIR/postfix@$(postconf -o inet_interfaces= -hc "$DIR" multi_instance_name).service" done exit 0