Hi!

On Mon, Jul 10, 2017 at 11:13:08AM -0700, Dan Axtell wrote:
> I've tried a simple unit file like this:

here's a unit file from one of our servers (but I don't really know anything 
about systemd, our sysadmin generated this file using ansible...)

I replace some live paths/etc with $foo.
And instead of '/usr/bin/carton exec' you could use the path to plackup, if you 
installed it systemwide.

----begin----

[Service]
WorkingDirectory=/srv/$service-name/current/$repo/
ExecStart=/usr/bin/carton exec plackup -p 5050 --no-default-middleware -s 
Starman --workers 20 bin/api.psgi
Type=simple
Restart=always
User=$service-api
Group=$servicewxl-api
StartLimitInterval=0

[Install]
WantedBy=multi-user.target

---- end ----


So IMO this looks quite similar to what you have, so no idea if this is helpful 
at all..

> Jul 10 13:59:35 p4904302.pubip.peer1.net systemd[123826]: Failed at step 
> USER spawning /usr/bin/plackup: No such process

Can you run the command in ExecStart form the command line?

greetings,
domm


-- 
#!/usr/bin/perl                              http://domm.plix.at
for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"psgi-plack" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to psgi-plack+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to