Single
This commit is contained in:
parent
9f8328621b
commit
35ff9c7892
|
@ -434,7 +434,7 @@ function install_microblogpub {
|
|||
echo 'StandardError=syslog';
|
||||
echo '';
|
||||
echo '[Install]';
|
||||
echo 'WantedBy=multi-user.target'; } >> "/etc/systemd/system/microblogpub.service"
|
||||
echo 'WantedBy=multi-user.target'; } > "/etc/systemd/system/microblogpub.service"
|
||||
systemctl enable microblogpub
|
||||
chown -R microblogpub:microblogpub "/etc/microblogpub"
|
||||
systemctl start microblogpub
|
||||
|
|
|
@ -999,7 +999,7 @@ if [ $app_daemon ]; then
|
|||
echo " echo 'StandardError=syslog';"
|
||||
echo " echo '';"
|
||||
echo " echo '[Install]';"
|
||||
echo " echo 'WantedBy=multi-user.target'; } >> \"/etc/systemd/system/${app_name}.service\""
|
||||
echo " echo 'WantedBy=multi-user.target'; } > \"/etc/systemd/system/${app_name}.service\""
|
||||
echo " systemctl enable ${app_name}"
|
||||
if [ "$app_dir" ]; then
|
||||
echo " chown -R ${app_name}:${app_name} \"${app_dir}\""
|
||||
|
|
Loading…
Reference in New Issue