SHA256
1
0
forked from pool/rpmlint
Dirk Mueller 2016-05-26 00:11:08 +00:00 committed by Git OBS Bridge
parent 53e3dee3b1
commit fe8bf55112

View File

@ -16,8 +16,8 @@ index f9b13a1..f81a450 100644
'Default-Stop', 'Short-Description')
+suse = True
+stop_on_removal_regex=re.compile('bin/systemctl stop .*(?!.service)')
+restart_on_update_regex=re.compile('bin/systemctl try-restart .*(?!.service)')
+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):