- Создайте папку
~/.config/systemd/user - Создайте файл
~/.config/systemd/user/названиесервиса.service - Добавьте в него следующее содержимое
[Unit]
Wants=network-online.target
| # Disable/enable GUI | |
| sudo systemctl set-default multi-user.target # Disable GUI | |
| sudo systemctl set-default graphical.target # Enable GUI | |
| # Enable SSH | |
| sudo systemctl start ssh | |
| # Install useful stuff | |
| sudo apt update | |
| sudo apt install python3 python3-pip tree mc neofetch ncdu fish htop elinks |
| # git config --local -e # - Edit author for current repository | |
| git rebase -r --root --exec 'git commit --amend --no-edit --reset-author' |
| aasStats shows AAS stats | |
| addarrow adds a debug arrow | |
| addChatLine internal use - core to game chat lines | |
| addline adds a debug line | |
| aviCmdDemo writes AVIs for a command demo | |
| aviDemo writes AVIs for a demo | |
| aviGame writes AVIs for the current game | |
| benchmark benchmark | |
| bind binds a command to a key | |
| bindRagdoll binds ragdoll at the current drag position |
| [enu default] | |
| TXT_D1E1 = "Gxisgenue en la Mortintoj"; | |
| TXT_D1E2 = "La Bordoj de Infero"; | |
| TXT_D1E3 = ""; | |
| TXT_D1E4 = "Via Karno Konsumita"; // The episode and levels' names in E4 are taken from the Bible. Proverbs 5:11 | |
| TXT_D2E1 = "Infero Sur La Tero"; | |
| TXT_D2E2 = "Nenia Ripozo por la Vivantoj"; // References "No rest for the wicked" in Isaiah 48:22 | |
| TXT_PLUT_EP = "La Eksperimento de Plutonia"; | |
| TXT_TNT_EP = "TNT: Mavalucio"; |
| /** | |
| * ByteTools (C++) v1.1.1 | |
| * | |
| * Copyright (c) PROPHESSOR 2019 | |
| */ | |
| #pragma once | |
| #include <iostream> | |
| #include <cstdio> |
| #!/usr/bin/python3.7 | |
| TEXTURED = True | |
| def main(): | |
| playerstart = (32, 32, 16) | |
| brushes = [ | |
| # generateRect3d((-64, -64, -8), (128, 128, 8)), #bottom | |
| # generateRect3d((-64 - 8, -64, 0), (8, 128, 128)), #left (player back) |
| 1542c1542 | |
| < ð/uH<$¾ºèåÂõÿH\$ H ÛtlH=ÃiXt¸ÿÿÿÿðÁCøtëQCHÿKøuCHHßÿPH=iXt¸ÿÿÿÿðÁCøtëCHÿKøuHHßÿPL÷è/ÌõÿL÷è'ÌõÿUSHìhH|$8è°ÇõÿHt$8H|$èÁöÿH\$@H ÛtdH=iXt¸ÿÿÿÿðÁCøtëICHÿKøu;HHßÿPH=íhXt¸ÿÿÿÿðÁCøtëCHÿKøu HHßÿPH|$HèYtöÿH\$HT$PH ÛtúÿuHßè¾½õÿHÂH|$HÞè.%öÿH|$HHD$XH9Çtè:ÃõÿHD$x.HD$xH|$0èÂùÿÿHD$HD$(ÁùrðHD$HD$ ÁùrðH|$0Ht$(HT$ è¾÷õÿÃH|$ øÿt Àtð/uH|$ ¾ºèòÀõÿH|$(øÿt Àtð/uH|$(¾ºèÈÀõÿH|$0øÿt Àtð/uH|$0¾ºèÀõÿ@µÛuLH=M¾è%öÿHD$H|$èwÃõÿH|$øÿt Àtð/uH|$¾ºèMÀõÿ1íH|$øÿt Àtð/uH|$¾ºè!ÀõÿH|$øÿt Àtð/uH|$¾ºè÷¿õÿèHÄh[]ÃHÃH|$øÿ« Àð/ H|$ërHÃH|$ øÿt Àtð/uH|$ ¾ºè¿õÿH|$(øÿt Àtð/uH|$(¾ºèk¿õÿH|$0øÿt/ Àtð/u%H|$0¾ºèA¿õÿH|$øÿuëiHÃH|$øÿtZ Àtð/uPH|$¾ºè¿õÿH|$øÿu@éÚHÃH|$HHD$XH9ÇtèÀõÿH|$øÿué²HÃH|$øÿ Àtð/ H|$¾ºè¾õÿë{H |
| alert('OK') |
| #/usr/bin/python | |
| # coding: utf-8 | |
| from os import system | |
| print "Перевожу систему в режим энергосбережения..." | |
| print "Останавливаю сервисы:" | |
| print " - Останавливаю MySQL" |