Skip to content

Commit

Permalink
Restart ldapproxy.service on module update
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidePrincipi committed Oct 18, 2023
1 parent 6fe3683 commit f95a667
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions imageroot/update-module.d/50restart
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash

#
# Copyright (C) 2023 Nethesis S.r.l.
# SPDX-License-Identifier: GPL-3.0-or-later
#

set -e

exec 1>&2

# Restart the service
systemctl --user try-restart ldapproxy.service

0 comments on commit f95a667

Please sign in to comment.