summaryrefslogtreecommitdiff
path: root/setup-disk.in
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-06-13 13:34:02 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-06-13 13:34:02 +0000
commitcf023ac1ffecfdcc1997ee7b8e57cacdde62870e (patch)
treea209447ca4dbaa232ac9f02c742bae2abea64a9f /setup-disk.in
parentb709cfbbbf86ecfa74a674349ed0f9b5c04cbd46 (diff)
downloadalpine-conf-cf023ac1ffecfdcc1997ee7b8e57cacdde62870e.zip
setup-disk: only restart syslog if its already running
ref #5719
Diffstat (limited to 'setup-disk.in')
-rw-r--r--setup-disk.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup-disk.in b/setup-disk.in
index 0df6d96..3ab35cd 100644
--- a/setup-disk.in
+++ b/setup-disk.in
@@ -661,7 +661,7 @@ setup_var() {
mv /.var/* /var/
rmdir /.var
- /etc/init.d/syslog --quiet restart
+ service syslog --quiet condrestart
setup_mdadm_conf
}