mirror of
https://github.com/atuinsh/atuin.git
synced 2024-11-24 17:23:50 +01:00
30 lines
598 B
Desktop File
30 lines
598 B
Desktop File
[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
|