소스 검색

Daemon installation notes improved

Jonas Pflanzer 5 년 전
부모
커밋
d4bab1905c
2개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 1
      daemon/README.md
  2. 2 2
      daemon/ccats.service

+ 2 - 1
daemon/README.md

@@ -29,13 +29,14 @@ make test
 ```
 
 ## Installation
+You can adjust the installation directory as you like but don't forget to adjust the `ExecStart` option in the service file. The location of the configuration file is the first parameter for the daemon so you can change it as well.
+Don't forget to create the files folder!!!
 
 After building the program copy executable:
 ```
 sudo cp bin/ccats /usr/bin
 ```
 
-
 Copy service file:
 ```
 sudo cp ccats.service /etc/systemd/system/

+ 2 - 2
daemon/ccats.service

@@ -5,7 +5,7 @@ Description=CCats
 Type=simple
 Restart=always
 RestartSec=1
-ExecStart=/usr/bin/ccats
+ExecStart=/usr/bin/ccats /etc/ccats.conf
 
 [Install]
-WantedBy=multi-user.target
+WantedBy=multi-user.target