[Unit] Description=Postfix policy server that bans clients by their upstream Autonomous System Wants=postfix.service After=postfix.service [Service] Type=simple WorkingDirectory=/opt/as_ban_policy_server ExecStart=/usr/bin/node /opt/as_ban_policy_server/index.mjs User=postfix Restart=on-failure [Install] WantedBy=multi-user.target