Skip to content

Commit

Permalink
Wesnothd – support config reloading via systemctl
Browse files Browse the repository at this point in the history
  • Loading branch information
sevu committed Jan 27, 2020
1 parent b9f93cf commit f2d40dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog.md
Expand Up @@ -5,6 +5,7 @@
* Fixed data/dist information not being found on many platforms other than Windows (only
with the installer-created shortcut), as well as only the very first word being read instead
of the whole line.
* Added support for systemctl reload

## Version 1.14.10
### AI
Expand Down
2 changes: 2 additions & 0 deletions packaging/systemd/wesnothd.service.in
Expand Up @@ -17,6 +17,8 @@ ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/wesnothd@BINARY_SUFFIX@ -t 2 -T 5
# e.g. -c /home/user/.local/share/wesnoth/1.14/lan_server.cfg
# (and make sure wesnothd has the required access permissions)

ExecReload=/bin/kill -s SIGHUP $MAINPID

ExecStopPost=/bin/rm -f @FIFO_DIR@/socket

SyslogIdentifier=Wesnothd@BINARY_SUFFIX@
Expand Down

0 comments on commit f2d40dc

Please sign in to comment.