From 93d82d9e76636ca4d33db6c8799754660a440235 Mon Sep 17 00:00:00 2001 From: Cullum Smith Date: Wed, 16 Oct 2024 00:07:55 -0400 Subject: cleanup --- scripts/hostclass/nfs_server | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/hostclass/nfs_server') diff --git a/scripts/hostclass/nfs_server b/scripts/hostclass/nfs_server index ce47cfe..ec06bfe 100644 --- a/scripts/hostclass/nfs_server +++ b/scripts/hostclass/nfs_server @@ -43,5 +43,5 @@ sysrc -v gssd_env="KRB5_KTNAME=${keytab_dir}/host.keytab" install_template -m 0644 /etc/exports for service in gssd nfsuserd mountd nfsd; do - service "$service" restart + service "$service" status || service "$service" start done -- cgit v1.2.3