Daemon echoes without break

This commit is contained in:
Bob Mottram 2018-04-08 16:00:16 +01:00
parent 36329ee5b2
commit 26d5dbfa60
1 changed files with 4 additions and 4 deletions

View File

@ -837,13 +837,13 @@ if [ $app_daemon ]; then
echo " echo '[Service]';"
echo " echo 'Type=simple';"
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
echo " echo 'WorkingDirectory=TODO' >> \"/etc/systemd/system/${app_name}.service\""
echo " echo 'WorkingDirectory=TODO';"
else
echo " echo 'WorkingDirectory=${app_dir}' >> \"/etc/systemd/system/${app_name}.service\""
echo " echo 'WorkingDirectory=${app_dir}';"
fi
echo " { echo 'ExecStart=TODO';"
echo " echo 'ExecStart=TODO';"
echo " echo 'Restart=always';"
echo " echo 'Environment=\"USER=${app_name}\"';"
echo " echo '';"