pyruse/extra/systemd/pyruse.service

18 lines
387 B
INI
Raw Normal View History

2017-12-16 20:26:59 +01:00
[Unit]
Description=Route systemd-journal logs to filters and actions (ban, report…)
[Service]
ExecStart=/usr/bin/pyruse
WorkingDirectory=/etc/pyruse
CapabilityBoundingSet=CAP_SYS_ADMIN CAP_SYS_CHROOT
2017-12-16 20:26:59 +01:00
NoNewPrivileges=true
PrivateDevices=yes
PrivateTmp=yes
ProtectHome=yes
ProtectSystem=full
ReadWriteDirectories=/var/lib/pyruse
Restart=on-failure
[Install]
WantedBy=multi-user.target