paris/i-05d764fc7a0200ea6
by SadServersMore by SadServers
admin@i-072d28a9ffafc9157:~$ systemctl edit flaskapp.service Failed to create directories for "/etc/systemd/system/flaskapp.service.d/overridadmin@i-072d28a9ffafc9157:~$ systemctl cat flaskapp.service # /etc/systemd/system/flaskapp.service [Unit] Description=Flask Application After=network.target [Service] ExecStart=/usr/bin/python3 /home/admin/webserver.py [Install] WantedBy=multi-user.target admin@i-072d28a9ffafc9157:~$ vim /etc/systemd/system/flaskapp.service
paris/i-072d28a9ffafc9157 07:10
by SadServers-h, --help <category> Get help for commands -i, --include Include protocol response headers in the output -o, --output <file> Write to file instead of stdout -O, --remote-name Write output to a file named as the remote file -s, --silent Silent mode -T, --upload-file <file> Transfer local FILE to destination -u, --user <user:password> Server user and password -A, --user-agent <name> Send User-Agent <name> to server -v, --verbose Make the operation more talkative -V, --version Show version number and quit This is not the full help, this menu is stripped into categories. Use "--help category" to get an overview of all categories. For all options use the manual or "--help all". admin@i-0b548ba241add02bb:~$ curl --
paris/i-0b548ba241add02bb 03:54
by SadServerssystemd-udev-trigger.service loaded active exited Coldplug All udev Dev systemd-udevd.service loaded active running Rule-based Manager fo systemd-update-utmp.service loaded active exited Update UTMP about Sys systemd-user-sessions.service loaded active exited Permit User Sessions unattended-upgrades.service loaded active running Unattended Upgrades S LOAD = Reflects whether the unit definition was properly loaded. ACTIVE = The high-level unit activation state, i.e. generalization of SUB. admin@i-0de83ec36426f6541:~$ systemctl --type=service | grep kihei admin@i-0de83ec36426f6541:~$ cd /home/admin admin@i-0de83ec36426f6541:~$ ls agent data datafile kihei admin@i-0de83ec36426f6541:~$ kehei bash: kehei: command not found admin@i-0de83ec36426f6541:~$ kehei
kihei/i-0de83ec36426f6541 01:28
by SadServerset unix 2 [ ACC ] STREAM LISTENING 10712 - unix 2 [ ACC ] STREAM LISTENING 719 - unix 2 [ ACC ] STREAM LISTENING 721 - stemd.DynamicUser unix 2 [ ACC ] STREAM LISTENING 722 - nagedOOM unix 2 [ ACC ] STREAM LISTENING 9567 - s unix 2 [ ACC ] STREAM LISTENING 9575 - ut unix 2 [ ACC ] SEQPACKET LISTENING 9577 - unix 2 [ ACC ] STREAM LISTENING 9612 - ystemd.journal admin@i-00bc6276d68bc20cd:~$ netstat -lp | grep 8