Daemon echoes without break
This commit is contained in:
parent
36329ee5b2
commit
26d5dbfa60
|
@ -837,13 +837,13 @@ if [ $app_daemon ]; then
|
||||||
echo " echo '[Service]';"
|
echo " echo '[Service]';"
|
||||||
echo " echo 'Type=simple';"
|
echo " echo 'Type=simple';"
|
||||||
echo " echo 'User=${app_name}';"
|
echo " echo 'User=${app_name}';"
|
||||||
echo " echo 'Group=${app_name}'; } > \"/etc/systemd/system/${app_name}.service\""
|
echo " echo 'Group=${app_name}';"
|
||||||
if [ ! "$app_dir" ]; then
|
if [ ! "$app_dir" ]; then
|
||||||
echo " echo 'WorkingDirectory=TODO' >> \"/etc/systemd/system/${app_name}.service\""
|
echo " echo 'WorkingDirectory=TODO';"
|
||||||
else
|
else
|
||||||
echo " echo 'WorkingDirectory=${app_dir}' >> \"/etc/systemd/system/${app_name}.service\""
|
echo " echo 'WorkingDirectory=${app_dir}';"
|
||||||
fi
|
fi
|
||||||
echo " { echo 'ExecStart=TODO';"
|
echo " echo 'ExecStart=TODO';"
|
||||||
echo " echo 'Restart=always';"
|
echo " echo 'Restart=always';"
|
||||||
echo " echo 'Environment=\"USER=${app_name}\"';"
|
echo " echo 'Environment=\"USER=${app_name}\"';"
|
||||||
echo " echo '';"
|
echo " echo '';"
|
||||||
|
|
Loading…
Reference in New Issue