feat: initial commit

This commit is contained in:
Simon Cornet 2025-03-31 17:44:41 +02:00
commit 3f0a878c3a
18 changed files with 321 additions and 0 deletions

View file

@ -0,0 +1,4 @@
host = "0.0.0.0"
port = 8888
open_registration = true
db_uri="postgres://{{ atuin_db_user }}:{{ atuin_db_pass }}@{{ atuin_db_host }}/{{ atuin_db_name }}"

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=/usr/local/bin/atuin server start
Restart=on-failure
User=root
Group=root
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