2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

fhem.service: do not set restart options as default

git-svn-id: https://svn.fhem.de/fhem/trunk@15704 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen 2017-12-27 12:49:12 +00:00
parent 17712e9bc4
commit 8f537b6c94
2 changed files with 4 additions and 3 deletions

2
fhem/contrib/DEBIAN/postrm Executable file → Normal file
View File

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# $Id:$ # $Id$
set -e set -e

View File

@ -12,8 +12,9 @@ Group=dialout
WorkingDirectory=/opt/fhem WorkingDirectory=/opt/fhem
ExecStart=/usr/bin/perl fhem.pl fhem.cfg ExecStart=/usr/bin/perl fhem.pl fhem.cfg
#ExecStart=/usr/bin/perl fhem.pl configDB #ExecStart=/usr/bin/perl fhem.pl configDB
Restart=always # uncomment next two lines if auto-restart desired
RestartSec=5 #Restart=always
#RestartSec=5
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target