Init
Afficher les services systemd
Section titled “Afficher les services systemd”systemctl list-dependenciesCréer un service (RedHat/Centos)
Section titled “Créer un service (RedHat/Centos)”vim /etc/systemd/system/gammu.service # Systemd unit file for Gammu [Unit] Description=Gammu SMS After=network.target
[Service] Type=forking
ExecStart=/etc/init.d/gammu-smsd-init start ExecStop=/etc/init.d/gammu-smsd-init stop
User=gammu Group=gammu
[Install] WantedBy=multi-user.targetActivation du service
systemctl start gammu.servicesystemctl enable gammu.service