[systemd-devel] one shot service exit-code

Reindl Harald h.reindl at thelounge.net
Tue Oct 31 16:21:34 UTC 2017



Am 31.10.2017 um 17:06 schrieb Matt Zagrabelny:
> I have phone that I plug into my computer and have a udev rule to fire 
> off a systemd service. Things work well, but the journal indicates that 
> the command isn't terminating cleanly.
> 
> However here is the journal when I plug in the phone:
> 
> Oct 31 10:53:54 eruke systemd[1274]: Starting 
> download-photos at SAMSUNG_SAMSUNG_Android_17b765cc.service...
> Oct 31 10:53:55 eruke systemd[1274]: 
> download-photos at SAMSUNG_SAMSUNG_Android_17b765cc.service: Main process 
> exited, code=exited, status=255/n/a

SuccessExitStatus=255
> Does anyone have any ideas how systemd is interacting (killing?) with 
> the mate-terminal?

just tell systemd 255 is a normal exit code, see above



More information about the systemd-devel mailing list