Skip to content

Commit

Permalink
Update space base systemd service.
Browse files Browse the repository at this point in the history
  • Loading branch information
Apaisal committed Aug 23, 2024
1 parent 6389a9c commit fb88bbe
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions services/space/csp_client.service
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ Wants=network.target
After=zmqproxy.service

[Service]
User=pi
Type=simple
PIDFile=/run/csp_client.pid
ExecStart=/usr/local/bin/csp_client -z 10.1.1.138 -f 1 -a 3 -C 2
WorkingDirectory=/home/pi/Projects/libcsp/build/examples/

[Install]
WantedBy=multi-user.target
2 changes: 2 additions & 0 deletions services/space/csp_server.service
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ Wants=network.target
After=zmqproxy.service

[Service]
User=pi
Type=simple
PIDFile=/run/csp_server.pid
ExecStart=/usr/local/bin/csp_server -z 10.1.1.138 -f 1 -a 5
WorkingDirectory=/home/pi/Projects/libcsp/build/examples/

[Install]
WantedBy=multi-user.target
2 changes: 2 additions & 0 deletions services/space/zmqproxy.service
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
Wants=network.target

[Service]
User=pi
Type=simple
PIDFile=/run/zmqproxy.pid
ExecStart=/usr/local/bin/zmqproxy
WorkingDirectory=/home/pi/Projects/licsp/build/examples/

[Install]
WantedBy=multi-user.target

0 comments on commit fb88bbe

Please sign in to comment.