File tree 7 files changed +134
-159
lines changed
7 files changed +134
-159
lines changed Original file line number Diff line number Diff line change 1
- # Editor Configuration Normalization
2
- #
3
- # @see http://editorconfig.org/
1
+ ; http://editorconfig.org/
4
2
5
- # This is the top-most .editorconfig file; do not search in parent directories.
6
3
root = true
7
4
8
- # All files.
9
5
[* ]
10
6
charset = UTF-8
11
7
end_of_line = LF
12
8
indent_size = 4
13
- indent_style = space
9
+ indent_style = tab
14
10
insert_final_newline = true
15
11
tab_width = 4
16
12
trim_trailing_whitespace = true
17
-
18
- [* .md ]
19
- trim_trailing_whitespace = false
20
-
21
- [{M,m}akefile ]
22
- indent_style = tab
Original file line number Diff line number Diff line change 1
1
# Git Normalization
2
2
3
- * text =auto eol =lf
3
+ * text =auto eol =lf
4
+ . * text eol =lf
5
+ * .md text eol =lf
6
+ /defaults text eol =lf
7
+ /init text eol =lf
8
+ /makefile text eol =lf
9
+ /UNLICENSE text eol =lf
10
+
11
+ /.editorconfig export-ignore
12
+ /.gitattributes export-ignore
13
+ /.gitignore export-ignore
14
+ /README.md export-ignore
15
+ /UNLICENSE export-ignore
Original file line number Diff line number Diff line change 1
- /.idea
1
+ /.idea /
Original file line number Diff line number Diff line change 11
11
```
12
12
13
13
## Usage
14
- You can use it via the ` service ` command or by directly invoking the shell script in ` /etc/init.d ` ; what you like best.
15
- Your shell will have auto-completion for the various keywords that are available, for instance if you type `service
14
+ You can use it via the ` service ` command or by directly invoking the shell script in ` /etc/init.d ` ; what you like best.
15
+ Your shell will have auto-completion for the various keywords that are available, for instance if you type `service
16
16
nginx res` just hit tab for auto-completion.
17
17
18
18
``` shell
@@ -27,6 +27,8 @@ service nginx stop
27
27
28
28
## Weblinks
29
29
* [ LSBInitScripts - Debian Wiki] ( https://wiki.debian.org/LSBInitScripts )
30
+ * LSB Core Spec: [ Init Script Actions: Exit Codes] ( http://refspecs.linuxfoundation.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html )
31
+ * [ Ubuntu pastebin] ( http://paste.ubuntu.com/6918156/ )
30
32
31
33
## License
32
34
> This is free and unencumbered software released into the public domain.
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
- # ------------------------------------------------------------------------------
4
- # Defaults for nginx SysVinit script.
5
- #
6
- # @author Richard Fussenegger <[email protected] >
7
- # @copyright 2013-15 Richard Fussenegger
8
- # @license http://unlicense.org/ PD
9
- # ------------------------------------------------------------------------------
10
-
11
3
# Canonical absolute path to the PID file.
12
4
#
13
5
# DEFAULT: /run/nginx.pid
You can’t perform that action at this time.
0 commit comments