Files
HealthAppRepository/deploy/systemd/healthapp-patient-profile.service

21 lines
494 B
Desktop File

[Unit]
Description=HealthApp Patient/Profile service
Wants=network-online.target
After=network-online.target
[Service]
Type=simple
User=healthapp
Group=healthapp
WorkingDirectory=/opt/healthapp/patient-profile
ExecStart=/usr/bin/dotnet /opt/healthapp/patient-profile/PatientProfileService.dll
EnvironmentFile=/etc/healthapp/patient-profile.env
Restart=on-failure
RestartSec=5
KillSignal=SIGINT
TimeoutStopSec=30
SyslogIdentifier=healthapp-patient-profile
[Install]
WantedBy=multi-user.target