Skip to content
My IT Notes

My IT Notes

Posted on 11/04/201911/04/2019 by the-x.ru

Simple service, starting perl script + autostart in Ubuntu

nano /etc/init.d/script.sh
#!/bin/sh
perl /path/to/foobar.pl

chmod +x /etc/init.d/script.sh

sudo update-rc.d script.sh defaults

https://superuser.com/questions/154948/how-can-i-run-a-perl-script-automatically-after-a-ubuntu-server-has-booted-up/1200204

Tagslinux, ubuntu

Post navigation

Previous PostPrevious Попрошайки
Next PostNext Чуть не развели, мошенничество с поверкой счетчиков воды

Recent Posts

  • Windows Applocker Info
  • Linux Info
  • Move data from old Windows server to new one saving all users permissions
  • Windows Network and Firewall
  • Kubernetes

Tags

  • *nix
  • acronis
  • apple
  • bug
  • Crypto pro
  • dns
  • domain
  • esxi
  • fix
  • hardware
  • linux
  • mail
  • mail server
  • mikrotik
  • online
  • printer
  • raid
  • RDP
  • security
  • spf
  • SQL
  • troubleshoot
  • ubuntu
  • vmware
  • web design
  • wifi
  • windows
  • windows 10
  • windows update
  • youtube
  • авто
  • дизайн
  • дом
  • еда
  • железо
  • жизнь
  • здоровье
  • игры
  • космос
  • люблю
  • магазин
  • музыка
  • путешествия
  • хорошие
  • хочу
Proudly powered by WordPress