Skip to content

Question about manage-procs syntax #46

@JanSHUP

Description

@JanSHUP

Probably I misunderstood the documentation and got the syntax wrong using the manage-procs tool.

if I use e.g.:
./manage-procs add iocname /iocspath./st.cmd -P 20000

I get:
Created symlink /home/pi/.config/systemd/user/multi-user.target.wants/procserv-iocname.service -> /home/pi/.config/procServ.d/procserv-iocname.service.
Created symlink /home/pi/.config/systemd/user/procserv-iocname.service -> /home/pi/.config/procServ.d/procserv-iocname.service.

manage-procs --user start iocname

and the sytem file looks like:

[Unit]
Description=procServ for iocname
After=network.target remote-fs.target
ConditionPathIsDirectory=/home/pi/Downloads/procServ

[Service]
Type=simple
ExecStart=None --user iocname
RuntimeDirectory=procserv-iocname
StandardOutput=syslog
StandardError=inherit
SyslogIdentifier=procserv-iocname

[Install]
WantedBy=multi-user.target

somehow the positional argument "name" is okay, but everything later on is ignored. The service doesn't start due to lacking exec arguments.
Maybe one can give me an example how to use the arguments in a correct way?

best regards, Jan

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions