Skip to content

systemd service

Copy this sample to /etc/systemd/system/cryap.service

[Unit]
Description=Cryap
After=network.target

Wants=neo4j.service
After=neo4j.service


[Service]
RestartSec=2s
Type=simple
User=cryap
Group=cryap
WorkingDirectory=/var/lib/cryap
ExecStart=/usr/bin/cryap
Restart=always

[Install]
WantedBy=multi-user.target