15 lines
335 B
Desktop File
15 lines
335 B
Desktop File
[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
|