[Unit] Description=LDAP authentication helper for Nginx After=network.target network-online.target [Service] Type=simple User=<%= @user %> Group=<%= @group %> WorkingDirectory=/var/run EnvironmentFile=<%= @env_path %> ExecStart=<%= @bin_path %> $URL $BASE $BIND_DN $BIND_PASS $COOKIE $FILTER $REALM KillMode=process KillSignal=SIGINT Restart=on-failure [Install] WantedBy=multi-user.target