nano yacystart.service
__________________________
[Unit]
Description=YaCy search server
After=network.target
[Service]
Type=forking
ExecStart=/home/yacy/yacy/startYACY.sh
ExecStop=/home/yacy/yacy/stopYACY.sh
[Install]
WantedBy=multi-user.target
______________________________________
systemctl enable yacystart.service
systemctl start yacystart.service
systemctl stop yacystart.service
Quellen:
https://walterebert.com/blog/starting-yacy-boot-systemd/
Keine Kommentare:
Kommentar veröffentlichen