Skip to content

Commit

Permalink
Update systemd service to accept status code 111
Browse files Browse the repository at this point in the history
    Merge pull request #64 from petrkutalek/feature/update_systemd_unit
    Instruct Systemd to accept status code 111 as a successful exit
  • Loading branch information
janmojzis committed Mar 20, 2022
1 parent d4a9b78 commit e237b97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -56,6 +56,7 @@
EnvironmentFile=-/etc/default/tinysshd
ExecStart=/usr/sbin/tinysshd ${TINYSSHDOPTS} -- /etc/tinyssh/sshkeydir
KillMode=process
SuccessExitStatus=111
StandardInput=socket
StandardError=journal
Expand Down
1 change: 1 addition & 0 deletions man/tinysshd.8
Expand Up @@ -133,6 +133,7 @@ ExecStartPre=\-/usr/sbin/tinysshd\-makekey \-q /etc/tinyssh/sshkeydir
EnvironmentFile=\-/etc/default/tinysshd
ExecStart=/usr/sbin/tinysshd ${TINYSSHDOPTS} \-\- /etc/tinyssh/sshkeydir
KillMode=process
SuccessExitStatus=111
StandardInput=socket
StandardError=journal

Expand Down

0 comments on commit e237b97

Please sign in to comment.