您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

jack.service.j2 519B

1234567891011121314151617181920212223
  1. {{ansible_managed|comment}}
  2. [Unit]
  3. Description=JACK server
  4. Documentation=man:jackd(1)
  5. After=sound.target
  6. [Service]
  7. EnvironmentFile=/etc/jack.conf
  8. ExecStart=jackd $JACK_OPTIONS -d $DRIVER $DRIVER_SETTINGS
  9. LimitRTPRIO=95
  10. LimitRTTIME=infinity
  11. LimitMEMLOCK=infinity
  12. # Caution: use on memory-limited devices only
  13. # OOMScoreAdjust=-1000
  14. #Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/dbus/system_bus_socket
  15. User=jack
  16. Group=jack
  17. Environment="JACK_PROMISCUOUS_SERVER=jack"
  18. UMask=0
  19. [Install]
  20. WantedBy=multi-user.target