====== systemd ====== Скрипты располагаются в /usr/lib/systemd/system/ Пример: [Unit] Description=A fast and very simple Ruby web server After=syslog.target network.target [Service] Type=forking User=www Group=www ExecStart=/usr/local/bin/thin start --all /etc/thin/ ExecReload=/user/local/bin/thin restart --all /etc/thin/ ExecStop=/usr/local/bin/thin stop --all /etc/thin TimeoutSec=300 [Install] WantedBy=multi-user.target systemctl enable some.service {{tag> systemd systemctl }}