Skip to content
Snippets Groups Projects
Verified Commit 61c15ae1 authored by David Beniamine's avatar David Beniamine
Browse files

Fix bad service init

parent 9ebfd9f6
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@ apt-eole install -y \
git clone https://gitlab.tetras-libre.fr/tetras-libre/eole-wol
cd eole-wol
cp */service/*.service /etc/systemd/system/
cp $DIR/*/service/*.service /etc/systemd/system/
# Adding services
systemctl daemon-reload
......
......@@ -16,17 +16,12 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
DIR=$(dirname $0)
cd /var/www
DIR=`dirname $0`
apt-eole update
apt-eole install -y git
git clone https://gitlab.tetras-libre.fr/tetras-libre/eole-wol
chown -R www-data:www-data eole-wol/wol/www
cp $DIR/wol/service/wakeonlan.service /etc/systemd/system/
systemctl daemon-reload
systemctl start wakeonlan
systemctl enable wakeonlan
systemctl status wakeonlan
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment