SHA256
1
0
forked from pool/rpmlint
Dirk Mueller 2016-05-20 07:40:43 +00:00 committed by Git OBS Bridge
parent bc18f6b179
commit 53e3dee3b1

View File

@ -16,8 +16,8 @@ index f9b13a1..f81a450 100644
'Default-Stop', 'Short-Description')
+suse = True
+stop_on_removal_regex=re.compile('test \"\$DISABLE_STOP_ON_REMOVAL')
+restart_on_update_regex=re.compile('test \"\$DISABLE_RESTART_ON_UPDATE\"')
+stop_on_removal_regex=re.compile('bin/systemctl stop .*(?!.service)')
+restart_on_update_regex=re.compile('bin/systemctl try-restart .*(?!.service)')
+insserv_cleanup_regex=re.compile('^\s*/sbin/insserv /etc/init.d$', re.MULTILINE)
class InitScriptCheck(AbstractCheck.AbstractCheck):