kernel hardening + sync skel on start
This commit is contained in:
parent
b5de726919
commit
25f5f0bec7
4 changed files with 235 additions and 0 deletions
30
system_files/usr/etc/systemd/user/eve-skel-sync.service
Normal file
30
system_files/usr/etc/systemd/user/eve-skel-sync.service
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
[Unit]
|
||||
Description=Eve Skeleton Directory Sync Service
|
||||
Documentation=man:rsync(1)
|
||||
After=graphical-session.target
|
||||
Wants=graphical-session.target
|
||||
PartOf=graphical-session.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
|
||||
# Execute the skeleton sync script
|
||||
ExecStart=/usr/bin/eve-skel-sync
|
||||
|
||||
# Restart policy
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
TimeoutStartSec=30
|
||||
|
||||
# Logging
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
SyslogIdentifier=eve-skel-sync
|
||||
|
||||
# Security settings
|
||||
PrivateTmp=true
|
||||
NoNewPrivileges=true
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue