Skip to content

Commit

Permalink
Merge pull request #303 from FlowFuse/hardillb-patch-1
Browse files Browse the repository at this point in the history
Allow arguments to device agent
  • Loading branch information
knolleary authored Aug 12, 2024
2 parents 23f986b + 7a89f12 commit d87bda9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion service/flowfuse-device.service
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Group=pi
WorkingDirectory=/opt/flowfuse-device

Environment="NODE_OPTIONS=--max_old_space_size=512"
ExecStart=/usr/bin/env flowfuse-device-agent
ExecStart=/usr/bin/env -S flowfuse-device-agent
# Use SIGINT to stop
KillSignal=SIGINT
# Auto restart on crash
Expand Down
2 changes: 1 addition & 1 deletion service/raspbian-install-device-agent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ User=$USER
WorkingDirectory=/opt/flowfuse-device
Environment="NODE_OPTIONS=--max_old_space_size=512"
ExecStart=/usr/bin/env flowfuse-device-agent
ExecStart=/usr/bin/env -S flowfuse-device-agent
# Use SIGINT to stop
KillSignal=SIGINT
# Auto restart on crash
Expand Down

0 comments on commit d87bda9

Please sign in to comment.