Etherpad working directory
This commit is contained in:
parent
b97d95b2eb
commit
7d4b8abc5b
|
@ -518,9 +518,10 @@ function install_etherpad {
|
|||
echo '' >> /etc/systemd/system/etherpad.service
|
||||
echo '[Service]' >> /etc/systemd/system/etherpad.service
|
||||
echo 'Type=simple' >> /etc/systemd/system/etherpad.service
|
||||
echo 'User=etherpad-lite' >> /etc/systemd/system/etherpad.service
|
||||
echo 'Group=etherpad-lite' >> /etc/systemd/system/etherpad.service
|
||||
echo "ExecStart=/var/www/$ETHERPAD_DOMAIN_NAME/htdocs//bin/run.sh" >> /etc/systemd/system/etherpad.service
|
||||
echo 'User=etherpad' >> /etc/systemd/system/etherpad.service
|
||||
echo 'Group=etherpad' >> /etc/systemd/system/etherpad.service
|
||||
echo "WorkingDirectory=/var/www/$ETHERPAD_DOMAIN_NAME/htdocs" >> /etc/systemd/system/etherpad.service
|
||||
echo "ExecStart=/var/www/$ETHERPAD_DOMAIN_NAME/htdocs/bin/run.sh" >> /etc/systemd/system/etherpad.service
|
||||
echo '' >> /etc/systemd/system/etherpad.service
|
||||
echo '[Install]' >> /etc/systemd/system/etherpad.service
|
||||
echo 'WantedBy=multi-user.target' >> /etc/systemd/system/etherpad.service
|
||||
|
|
Loading…
Reference in New Issue