Use exec to start main processes
This commit is contained in:
parent
33817a2ab7
commit
12947572c7
|
@ -25,4 +25,4 @@ fi
|
|||
|
||||
iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE
|
||||
|
||||
openvpn /config/openvpn/openvpn.conf
|
||||
exec openvpn /config/openvpn/openvpn.conf
|
||||
|
|
|
@ -10,4 +10,4 @@ mkdir -p "/config/Plex Media Server/"
|
|||
cp -n /Preferences.xml "/config/Plex Media Server/"
|
||||
rm -f "/config/Plex Media Server/plexmediaserver.pid"
|
||||
|
||||
start_pms > /dev/null 2>&1
|
||||
exec start_pms > /dev/null 2>&1
|
||||
|
|
|
@ -13,4 +13,4 @@ rm -f /config/rtorrent/rtorrent.lock
|
|||
mkdir -p /config/rutorrent/settings /config/rutorrent/torrents \
|
||||
/config/rutorrent/users /config/rutorrent/plugins
|
||||
|
||||
supervisord -c /supervisord.conf
|
||||
exec supervisord -c /supervisord.conf
|
||||
|
|
|
@ -4,4 +4,4 @@ mkdir -p /config/syncthing
|
|||
|
||||
cp -n /config.xml /config/syncthing
|
||||
|
||||
syncthing -home /config/syncthing -no-browser >> /dev/null 2>&1
|
||||
exec syncthing -home /config/syncthing -no-browser >> /dev/null 2>&1
|
||||
|
|
Loading…
Reference in New Issue