You've loaded an old revision of the document! If you save it, you will create a new version with this data. Media Files====== Autostart after Linux reboot ====== {{template>vorlagen:tutorialdetails|tutname=Autostart nach Linux Reboot|tutautor=[[psycore]]|tutversion=1.0|tutquelle=http://www.hellhost.de/wiki/linux:autostart}} ===== Problem description ===== If you operate a Linux server, some services must always be available. When the server restarts, certain programmes should start immediately. A simple cronjob is sufficient for this. ===== Problem solution ===== Log on as the user under which the programme is running and open the cronjob list: <code bash>$> crontab -e</code> The following command must now be entered as a cronjob: <code bash> # m h dom mon dow command @reboot cd /home/user/programdir; ./program start </code> As a practical example, the automatic start of an IRCD with services: <code bash> # m h dom mon dow command @reboot cd /home/psycore/Unreal3.2; ./unreal start @reboot cd /home/psycore/services; ./services </code>Please solve the following equation to prove you're human. 222 +12 = Please keep this field empty: SavePreviewCancel Edit summary Note: By editing this page you agree to license your content under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International