28 lines
566 B
Desktop File
28 lines
566 B
Desktop File
[Unit]
|
|
Description=Self-hosted audiobook server for managing and playing audiobooks
|
|
Requires=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
EnvironmentFile=/etc/conf.d/audiobookshelf
|
|
WorkingDirectory=/var/lib/audiobookshelf
|
|
ExecStart=/usr/bin/audiobookshelf
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
Restart=always
|
|
User=audiobookshelf
|
|
Group=audiobookshelf
|
|
|
|
RuntimeDirectory=audiobookshelf
|
|
|
|
NoNewPrivileges=yes
|
|
CapabilityBoundingSet=
|
|
RestrictNamespaces=true
|
|
SystemCallFilter=@system-service
|
|
|
|
PrivateTmp=true
|
|
ProtectSystem=strict
|
|
ProtectHome=yes
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|