This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rotate :: [Char] -> [Char] -> Int -> Bool | |
rotate _ _ 0 = False | |
rotate s1 s2 len = if s1' == s2 then True else rotate s1' s2 (len-1) | |
where s1' = tail s1 ++ [head s1] | |
cyclep :: [Char] -> [Char] -> Bool | |
cyclep str1 str2 = rotate str1 str2 (length str1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=uWSGI in Emperor mode | |
After=syslog.target | |
[Service] | |
ExecStart = /usr/bin/uwsgi --ini /etc/uwsgi/emperor.ini | |
KillSignal=SIGINT | |
ExecReload=/bin/kill -HUP $MAINPID | |
Restart = always | |
Type = notify |
NewerOlder