diff options
Diffstat (limited to 'audiobookshelf.service')
-rwxr-xr-x | audiobookshelf.service | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/audiobookshelf.service b/audiobookshelf.service new file mode 100755 index 000000000000..0c3421cce0f8 --- /dev/null +++ b/audiobookshelf.service @@ -0,0 +1,17 @@ +[Unit] +Description=Self-hosted audiobook server for managing and playing audiobooks +Requires=network.target + +[Service] +Type=simple +EnvironmentFile=/etc/conf.d/audiobookshelf +WorkingDirectory=/usr/share/audiobookshelf +ExecStart=/usr/share/audiobookshelf/audiobookshelf +ExecReload=/bin/kill -HUP $MAINPID +Restart=always +User=audiobookshelf +Group=audiobookshelf +PermissionsStartOnly=true + +[Install] +WantedBy=multi-user.target |