Skip to content

Commit

Permalink
No, /usr/bin/daemon is right path.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiri Hnidek committed Nov 1, 2016
1 parent 8b3b483 commit 3763430
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion forking-daemon.service
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description=Example of forking daemon program
[Service]
Type=forking
PIDFile=/var/run/daemon.pid
ExecStart=/usr/local/bin/daemon \
ExecStart=/usr/bin/daemon \
--conf_file /etc/daemon/daemon.conf \
--log_file /var/log/daemon.log \
--pid_file /var/run/daemon.pid \
Expand Down
2 changes: 1 addition & 1 deletion simple-daemon.service
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Description=Example of simple daemon program

[Service]
Type=simple
ExecStart=/usr/local/bin/daemon \
ExecStart=/usr/bin/daemon \
--conf_file /etc/daemon/daemon.conf \
--log_file /var/log/daemon.log
User=root
Expand Down

0 comments on commit 3763430

Please sign in to comment.