2024-02-24 17:27:46 +09:00
|
|
|
[Unit]
|
|
|
|
Description=Self-hosted audiobook server for managing and playing audiobooks
|
|
|
|
Requires=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
|
|
|
EnvironmentFile=/etc/conf.d/audiobookshelf
|
2024-02-24 22:02:26 +09:00
|
|
|
WorkingDirectory=/var/lib/audiobookshelf
|
|
|
|
ExecStart=/usr/bin/audiobookshelf
|
2024-02-24 17:27:46 +09:00
|
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
|
|
Restart=always
|
|
|
|
User=audiobookshelf
|
|
|
|
Group=audiobookshelf
|
|
|
|
|
2025-02-13 16:52:54 -05:00
|
|
|
RuntimeDirectory=audiobookshelf
|
|
|
|
|
|
|
|
NoNewPrivileges=yes
|
|
|
|
CapabilityBoundingSet=
|
|
|
|
RestrictNamespaces=true
|
|
|
|
SystemCallFilter=@system-service
|
|
|
|
|
|
|
|
PrivateTmp=true
|
|
|
|
ProtectSystem=strict
|
|
|
|
ProtectHome=yes
|
|
|
|
|
2024-02-24 17:27:46 +09:00
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|