Skip to content

Commit

Permalink
Merge pull request #17 from tynanford/master
Browse files Browse the repository at this point in the history
Add full path for kill command in systemd service file
  • Loading branch information
tynanford authored Aug 9, 2022
2 parents bcdacb9 + 59b0917 commit 131018e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions site-template/cf.service.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ Requires=elasticsearch.service
ExecStart=_JAVAPATH_/java _JAVAOPTS_ -jar _CFPATH_/_CHANNELFINDER_JAR_NAME_
SuccessExitStatus=143

ExecReload=kill -SIGINT $MAINPID
ExecReload=/usr/bin/kill -SIGINT $MAINPID
KillMode=process

Restart=on-failure
RestartSec=10s

[Install]
WantedBy=multi-user.target
Alias=cf.service
Alias=cf.service

0 comments on commit 131018e

Please sign in to comment.