feat: initial commit
This commit is contained in:
commit
3f0a878c3a
18 changed files with 321 additions and 0 deletions
4
templates/atuin/server.toml.j2
Normal file
4
templates/atuin/server.toml.j2
Normal 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 }}"
|
||||
29
templates/systemd/atuin.service.j2
Normal file
29
templates/systemd/atuin.service.j2
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue