fix for wrong /etc directory
This commit is contained in:
@@ -7,7 +7,7 @@ ConditionPathExists=/var/log
|
|||||||
Type=forking
|
Type=forking
|
||||||
Restart=always
|
Restart=always
|
||||||
PIDFile=/var/run/ebusd.pid
|
PIDFile=/var/run/ebusd.pid
|
||||||
EnvironmentFile=-/etc/conf.d/ebusd
|
EnvironmentFile=-/etc/default/ebusd
|
||||||
ExecStart=/usr/bin/ebusd $EBUSD_OPTS
|
ExecStart=/usr/bin/ebusd $EBUSD_OPTS
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|||||||
Executable → Regular
+1
-2
@@ -59,12 +59,11 @@ rm $RELEASE/usr/bin/ebusfeed
|
|||||||
if [ -d /run/systemd/system ]; then
|
if [ -d /run/systemd/system ]; then
|
||||||
mkdir -p $RELEASE/lib/systemd/system || exit 1
|
mkdir -p $RELEASE/lib/systemd/system || exit 1
|
||||||
cp contrib/debian/systemd/ebusd.service $RELEASE/lib/systemd/system/ebusd.service || exit 1
|
cp contrib/debian/systemd/ebusd.service $RELEASE/lib/systemd/system/ebusd.service || exit 1
|
||||||
cp contrib/debian/default/ebusd $RELEASE/etc/default/ebusd || exit 1
|
|
||||||
else
|
else
|
||||||
mkdir -p $RELEASE/etc/init.d || exit 1
|
mkdir -p $RELEASE/etc/init.d || exit 1
|
||||||
cp contrib/debian/init.d/ebusd $RELEASE/etc/init.d/ebusd || exit 1
|
cp contrib/debian/init.d/ebusd $RELEASE/etc/init.d/ebusd || exit 1
|
||||||
cp contrib/debian/default/ebusd $RELEASE/etc/default/ebusd || exit 1
|
|
||||||
fi
|
fi
|
||||||
|
cp contrib/debian/default/ebusd $RELEASE/etc/default/ebusd || exit 1
|
||||||
cp contrib/etc/ebusd/* $RELEASE/etc/ebusd/ || exit 1
|
cp contrib/etc/ebusd/* $RELEASE/etc/ebusd/ || exit 1
|
||||||
cp contrib/etc/logrotate.d/ebusd $RELEASE/etc/logrotate.d/ || exit 1
|
cp contrib/etc/logrotate.d/ebusd $RELEASE/etc/logrotate.d/ || exit 1
|
||||||
cp ChangeLog.md $RELEASE/DEBIAN/changelog || exit 1
|
cp ChangeLog.md $RELEASE/DEBIAN/changelog || exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user