[Unit] Description=WINE DUMMY daemon. After=network.target [Service] Type=forking User=root Group=root RemainAfterExit=yes ExecStartPre=/usr/local/bin/wineserver -p -d0 ExecStart=/usr/local/bin/wineboot ExecStop=/usr/local/bin/wine net stop RINOAutomaticService ExecStop=/usr/local/bin/wine net stop Kern_Service ExecStop=/usr/local/bin/wine net stop Asterisk_Segment_Service_0 ExecStop=/bin/sleep 5s ExecStop=/usr/local/bin/wineserver -k [Install] WantedBy=multi-user.target