Skip to content

Commit

Permalink
Merge pull request Unitech#4285 from epgdatacapbon/development
Browse files Browse the repository at this point in the history
Fix --wait-ip option doesn't work
  • Loading branch information
Unitech committed Oct 11, 2019
2 parents 959f7cc + bb04310 commit 2c21f3f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/templates/init-scripts/systemd-online.tpl
@@ -1,8 +1,7 @@
[Unit]
Description=PM2 process manager
Documentation=https://pm2.keymetrics.io/
After=network.target network-online.target
Wants=network-online.target
After=network-online.target
Restart=on-failure

[Service]
Expand All @@ -20,4 +19,4 @@ ExecReload=%PM2_PATH% reload all
ExecStop=%PM2_PATH% kill

[Install]
WantedBy=multi-user.target network-online.target
WantedBy=network-online.target

0 comments on commit 2c21f3f

Please sign in to comment.