Skip to content

Instantly share code, notes, and snippets.

@TimFoerster
TimFoerster / play2.service
Last active January 17, 2021 19:12 — forked from devseevali/play2.service
Systemd script for the Play Framework
[Unit]
Description=Play2 Service for <service-name>
After=network.target
 
[Service]
Type=simple
PIDFile=<path>/RUNNING_PID
WorkingDirectory=<path>
ExecStartPre=/bin/rm -f <path>/RUNNING_PID