1
0
Fork 0
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:
George Hunt 2018-05-23 23:21:49 +00:00
parent 244d565aaa
commit 5fd71ddd39
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -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/