mirror of
https://github.com/atuinsh/atuin.git
synced 2026-10-10 21:49:19 +02:00
<!-- Thank you for making a PR! Bug fixes are always welcome, but if you're adding a new feature or changing an existing one, we'd really appreciate if you open an issue, post on the forum, or drop in on Discord --> ## Checks - [x] I am happy for maintainers to push small adjustments to this PR, to speed up the review cycle - [x] I have checked that there are no existing pull requests for the same thing
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
|