service configuration files that needs to be saved just incase the server got lost someday by the cloud provider.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

16 行
374B

  1. [Unit]
  2. Description=calibre content server
  3. After=network.target
  4. [Service]
  5. Type=simple
  6. User=www-data
  7. Group=www-data
  8. ExecStart=/opt/calibre/calibre-server --listen-on 127.0.0.1 --shutdown-timeout 3 --url-prefix /books /var/www/MyBooks
  9. ##ExecStop=/opt/calibre/calibre-server --shutdown 1 "/var/www/MyBooks"
  10. KillMode=process
  11. TimeoutSec=900
  12. [Install]
  13. WantedBy=multi-user.target