25 lines
479 B
Desktop File
25 lines
479 B
Desktop File
[Unit]
|
|
Description=Razor Socket Service
|
|
Requires=razor.socket
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=/bin/sh -c '/usr/bin/razor-check && /bin/echo -n "spam" || /bin/echo -n "ham"'
|
|
StandardInput=socket
|
|
StandardError=journal
|
|
TimeoutStopSec=10
|
|
|
|
User=_rspamd
|
|
NoNewPrivileges=true
|
|
PrivateDevices=true
|
|
PrivateTmp=true
|
|
PrivateUsers=true
|
|
ProtectControlGroups=true
|
|
ProtectHome=true
|
|
ProtectKernelModules=true
|
|
ProtectKernelTunables=true
|
|
ProtectSystem=strict
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|