mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
systemd After and Requires on separate lines
This commit is contained in:
parent
244d565aaa
commit
5fd71ddd39
2 changed files with 3 additions and 2 deletions
|
@ -37,7 +37,7 @@ journal = true
|
|||
#verbose = v
|
||||
|
||||
# Max number of simultaneous connections (1000000 by default)
|
||||
maxConns = 1000
|
||||
maxConns = 10000
|
||||
|
||||
# Log to system's syslog facility instead of file or stdout (false by default)
|
||||
#syslog = true
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
[Unit]
|
||||
Description=Node.js Sugarizer Server
|
||||
Requires=After=mongodb.service # Requires the mongodb service to run first
|
||||
Requires=mongodb.service
|
||||
After=mongodb.service # Requires the mongodb service to run first
|
||||
|
||||
[Service]
|
||||
WorkingDirectory=/opt/iiab/sugarizer-server/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue