Skip to content

Commit

Permalink
Restart samba-dc on module update
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidePrincipi committed Oct 18, 2023
1 parent 5df67a2 commit 472c8eb
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 samba-dc.service

0 comments on commit 472c8eb

Please sign in to comment.