still haven’t had a chance to build the package but i noticed every time the server restarts or you issue systemctl daemon-reload
savapage.service is not loaded
my work around is as follows
change /usr/lib/systemd/system/savapage.service
to
This
#
# This file is part of the SavaPage project <https://www.savapage.org>.
# Copyright (c) 2011-2018 Datraverse B.V.
# Author: Rijk Ravestein.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
# For more information, please contact Datraverse B.V. at this
# address: info@datraverse.com
#
[Unit]
Description=SavaPage Open Print Portal
After=network.target cups.service
[Service]
Type=forking
PIDFile=/opt/savapage/server/logs/service.pid
User=savapage
Group=savapage
LimitNOFILE=65536
ExecStart=/opt/savapage/server/bin/linux-armv7l/app-server start
ExecStop=/opt/savapage/server/bin/linux-armv7l/app-server stop
Restart=on-success
[Install]
WantedBy=multi-user.target
# end-of file
Not sure if the permission was already set to this but in case it wasn’t
chmod 644 /usr/lib/systemd/system/savapage.service
chown root:root /usr/lib/systemd/system/savapage.service
then symlink
ln -s /usr/lib/systemd/system/savapage.service /etc/systemd/system/multi-user.target.wants/savapage.service
then enable
cd /etc/systemd/system/ && systemctl enable savapage.service
reboot
systemctl status savapage
● savapage.service - SavaPage Open Print Portal
Loaded: loaded (/usr/lib/systemd/system/savapage.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 1970-01-01 10:00:15 AEST; 51 years 8 months ago
Process: 700 ExecStart=/opt/savapage/server/bin/linux-armv7l/app-server start (code=exited, status=0/SUCCESS)
Main PID: 1245 (java)
CGroup: /system.slice/savapage.service
├─1245 java -server -XX:+PrintGCDetails -XX:+PrintGCApplic...
├─3810 /usr/lib/libreoffice/program/soffice.bin -accept=so...
└─3838 /usr/lib/libreoffice/program/soffice.bin -accept=so...
[truncated]
and `systemctl daemon-reload’
systemctl status savapage
● savapage.service - SavaPage Open Print Portal
Loaded: loaded (/usr/lib/systemd/system/savapage.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 1970-01-01 10:00:15 AEST; 51 years 8 months ago
Process: 700 ExecStart=/opt/savapage/server/bin/linux-armv7l/app-server start (code=exited, status=0/SUCCESS)
Main PID: 1245 (java)
CGroup: /system.slice/savapage.service
├─1245 java -server -XX:+PrintGCDetails -XX:+PrintGCApplic...
├─3810 /usr/lib/libreoffice/program/soffice.bin -accept=so...
└─3838 /usr/lib/libreoffice/program/soffice.bin -accept=so...
[truncated]
P.S. ignore the part about running for 51 years i changed the ntp to a government one and didnt configure the authentication correctly and said my server date was in the 1970s now it’s working right it says it’s been running for 51years