Always run background server (even before mynode.service completes)

This commit is contained in:
Taylor Helsper 2020-09-10 20:29:25 -05:00
parent 6d7e3814e7
commit 98f783362d
2 changed files with 3 additions and 2 deletions

View File

@ -3,8 +3,7 @@
[Unit]
Description=myNode Background Checks
Wants=mynode.service
After=mynode.service
After=network.target
[Service]
Type=simple

View File

@ -6,6 +6,8 @@ set -x
source /usr/share/mynode/mynode_config.sh
source /usr/share/mynode/mynode_app_versions.sh
# NOTE: Background services will run before mynode service completes, so a drive MAY NOT be attached
COUNTER=0
while true; do