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

Add wakelon service

parent 83f5d5f2
No related branches found
No related tags found
No related merge requests found
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
cd /var/www cd /var/www
DIR=`dirname $0`
apt-eole update apt-eole update
apt-eole install -y git apt-eole install -y git
...@@ -24,4 +25,8 @@ git clone https://gitlab.tetras-libre.fr/tetras-libre/eole-wol ...@@ -24,4 +25,8 @@ git clone https://gitlab.tetras-libre.fr/tetras-libre/eole-wol
chown -R www-data:www-data eole-wol/wol/www chown -R www-data:www-data eole-wol/wol/www
# TODO : should I add a ligne to apache2 config ? 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