Skip to content

Script Auto Start buat tmux dan digunakan jika server reboot

Notifications You must be signed in to change notification settings

datenshicommunity/scripts-autostart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Script Auto Start

Install smug

Download dari release

$ mkdir smug
$ tar -xzf smug_0.1.0_Darwin_x86_64.tar.gz -C ./smug 
$ sudo mv smug/smug /usr/local/bin
$ rm -rf smug

Buat Config

Config taruh di ~/.config/smug/ <= Wajib

template :

session: crot

root: ~/lokasifolder

windows:
  - name: code
    layout: main-vertical
    commands:
      - nano namafile.crot
    panes:
      - type: vertical
        commands:
          - tmux detach

Jalanin Scriptnya

$ wget https://github.com/osu-datenshi/scripts-autostart/raw/master/start.sh
$ chmod +x start.sh
$ ./start.sh

Jalanin per-project

$ smug start api --detach
$ smug start avatar --detach
$ smug start beatmap-server --detach
$ smug start lets --detach
$ smug start multi-backend --detach
$ smug start multi-frontend --detach
$ smug start peppy --detach
$ smug start yohane --detach

About

Script Auto Start buat tmux dan digunakan jika server reboot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages