forked from pool/rpmlint
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=388
This commit is contained in:
parent
bc18f6b179
commit
53e3dee3b1
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user