Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- Listview filtering
- flutter tcpip client
- debugShowCheckedModeBanner
- Server
- TCPIP
- dart:io
- Properties.Settings.Default
- ListView.build
- flutter
- flutter button
- flutter tcpip server
- array
- ubuntu 19 한글 입력
- peaks
- AlertDialog
- c
- showDialog
- debug banner
Archives
- Today
- Total
Louie De Janeiru
Ubuntu 18.04 application auto start 본문
1. create shell
nano /home/louiey/Work/start.sh
2. mode change
chmod +x /home/louiey/Work/start.sh
3. create service file
sudo nano /lib/systemd/system/start.service
[Unit]
Description=Start program
[Service]
ExecStart=/home/louiey/Work/start.sh
Restart=on-failure
RestartPreventExitStatus=255
[Install]
WantedBy=multi-user.target
Alias=start.service
4. mode change
sudo chmod 755 /lib/systemd/system/start.service
5. start
systemctl daemon-reload
systemctl enable soomvi.service
systemctl start soomvi.service
systemctl status start.service // confirm
'Linux' 카테고리의 다른 글
ssh install and configure (0) | 2020.11.17 |
---|---|
Application auto start on gnome (0) | 2020.07.22 |
Ubuntu WiFi Hotspot auto start (0) | 2020.06.25 |
/etc/passwd issue fix (0) | 2020.02.12 |
ubuntu 19 Koreac input method configuration (0) | 2019.12.11 |