Skip to content

Commit

Permalink
Merge pull request #3214 from radical-cybertools/feature/service_startup
Browse files Browse the repository at this point in the history
service startup I
  • Loading branch information
andre-merzky authored Jul 26, 2024
2 parents d014463 + c87d27e commit f64fae3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/agent_services.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@

# Define an [n]-core local pilot that runs for [x] minutes
# Here we use a dict to initialize the description object

sd = rp.TaskDescription({'executable': '/bin/sh',
'arguments' : ['-c', 'radical-pilot-service-signal'],
'named_env' : 'rp'})

pd_init = {'resource' : resource,
'runtime' : 30, # pilot runtime (min)
'exit_on_error' : True,
Expand Down

0 comments on commit f64fae3

Please sign in to comment.