mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2024-12-20 19:06:06 +01:00
16 lines
402 B
SYSTEMD
16 lines
402 B
SYSTEMD
|
[Unit]
|
||
|
Description=Self-hosted audiobook server for managing and playing audiobooks
|
||
|
Requires=network.target
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
EnvironmentFile=/etc/default/audiobookshelf
|
||
|
WorkingDirectory=/usr/share/audiobookshelf
|
||
|
ExecStart=/usr/share/audiobookshelf/audiobookshelf
|
||
|
ExecReload=/bin/kill -HUP $MAINPID
|
||
|
Restart=always
|
||
|
User=audiobookshelf
|
||
|
PermissionsStartOnly=true
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|