Commit dad1e199 authored by DanmeiChen's avatar DanmeiChen

install lp-autoanswer service

(cherry picked from commit 7ffd7a93)
parent c5115f63
......@@ -51,3 +51,7 @@ bc_generate_rpm_specfile("rpm/liblinphone.spec.cmake" "${PROJECT_SOURCE_DIR}/lib
include(CPack)
install(FILES rpm/lp-autoanswer.service DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/systemd/system)
install(FILES rpm/lp-autoanswer.conf DESTINATION ${CMAKE_INSTALL_PREFIX}/etc/sysconfig
RENAME lp-autoanswer)
OPTIONS=--verbose --listening-uri "sip:toto@localhost:5090"
[Unit]
Description=Linphone autoanswer service
After=network.target
[Service]
Type=simple
EnvironmentFile=/etc/sysconfig/lp-autoanswer
ExecStart=/usr/bin/lp-auto-answer $OPTIONS
[Install]
WantedBy=multi-user.target
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment