init
This commit is contained in:
commit
23c7133fa9
33 files changed
+2896
No files matched your search
@@ -0,0 +1,19 @@
|
||||
[Unit]
|
||||
Description=ssh-access-tui audit journal tailer (connect/disconnect log)
|
||||
After=network.target sshd.service ssh.service
|
||||
Wants=ssh.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/local/bin/ssh-access-tui audit-tail
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
User=root
|
||||
# Read-only access to system state is enough; this process only appends to
|
||||
# the audit log and reads the systemd journal.
|
||||
ProtectSystem=strict
|
||||
ReadWritePaths=/var/lib/ssh-access-tui/audit
|
||||
NoNewPrivileges=true
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in new issue
Block a user