Autostart a process after container starts?

Vassilis Kipouros

Active Member
Nov 2, 2016
54
6
28
47
Hello,

There is a process inside an LXC container that I need started together with the container.

Tried adding:

lxc.init_cmd: /usr/local/bin/airdcppd -d

but the container won't even start after I add the line to the [ctid].conf...

Can someone point me to the right direction?

Thanx

Vassilis
 
just use the regular boot mechanism of your distribution in the container? e.g., write an init script or systemd unit and put it in the right place.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!