Retourner au contenu associé (dépêche : systemd pour les administrateurs, partie 1 et 2)
Posté par Pi3R1k le 02 août 2014 à 20:52. En réponse à la dépêche systemd pour les administrateurs, partie 1 et 2. Évalué à 9. Dernière modification le 02 août 2014 à 20:53.
Pour apache par exemple :
[Unit] Description=Apache Web Server After=network.target remote-fs.target nss-lookup.target [Service] Type=forking PIDFile=/run/httpd/httpd.pid ExecStart=/usr/bin/apachectl start ExecStop=/usr/bin/apachectl graceful-stop ExecReload=/usr/bin/apachectl graceful PrivateTmp=true LimitNOFILE=infinity [Install] WantedBy=multi-user.target
rien de bien fou.
un petit systemctl enable mon_service pour l'activer au démarrage.
systemctl enable mon_service
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
[^] # Re: Et les scripts ?
Posté par Pi3R1k . En réponse à la dépêche systemd pour les administrateurs, partie 1 et 2. Évalué à 9. Dernière modification le 02 août 2014 à 20:53.
Pour apache par exemple :
rien de bien fou.
un petit
systemctl enable mon_servicepour l'activer au démarrage.