1
1
mirror of https://github.com/ellie/atuin.git synced 2024-10-04 00:19:39 +03:00

chore: Add Systemd config for self-hosted server (#1879)

This commit is contained in:
Sven-Hendrik Haase 2024-06-03 12:20:15 +02:00 committed by GitHub
parent ae841bef9b
commit 1ecc1d20e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,29 @@
[Unit]
Description=Start the Atuin server syncing service
After=network-online.target
Wants=network-online.target systemd-networkd-wait-online.service
[Service]
ExecStart=atuin server start
Restart=on-failure
User=atuin
Group=atuin
Environment=ATUIN_CONFIG_DIR=/etc/atuin
ReadWritePaths=/etc/atuin
# Hardening options
CapabilityBoundingSet=
AmbientCapabilities=
NoNewPrivileges=true
ProtectHome=true
ProtectSystem=strict
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectControlGroups=true
PrivateTmp=true
PrivateDevices=true
LockPersonality=true
[Install]
WantedBy=multi-user.target

View File

@ -0,0 +1 @@
u atuin - "Atuin synchronized shell history"