[Unit]
Description=Plik is a temporary file upload system (Wetransfer like) in Go.
After=network.target apache2.service

[Service]
User=plik

# Start program here, plik needs webapp, clients and changelog to
# host changelog and provide download of clients
WorkingDirectory=/usr/lib/plik/

ExecStart=/usr/bin/plikd --config /etc/plik/plikd.cfg
Restart=on-failure

[Install]
WantedBy=multi-user.target