[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sks-devel] DisUnitedStates.com back up
From: |
David Benfell |
Subject: |
Re: [Sks-devel] DisUnitedStates.com back up |
Date: |
Fri, 27 Jul 2012 19:19:00 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 07/25/2012 08:08 PM, David Benfell wrote:
> On 07/25/2012 02:19 PM, David Benfell wrote:
>> Hi all,
>
>> I will reply to this posting with an additional note just before
>> I begin the test.
>
> The experiment is, so far, a failure. Even my initial network
> script is failing to execute, with a consequent failure of many
> network daemons. I've brought the system back up under the old
> method, so DisUnitedStates.com is back up. At least until someone
> offers me some insight as to why I can't get a network startup
> script to run under systemd.
>
I've now gotten through the systemd conversion.
It is working with the following service files. First, for the db
instance:
[Unit]
Description=Synchronizing key server db instance
After=network.target
Wants=network.target
[Service]
Type=simple
WorkingDirectory=/var/lib/sks
ExecStart=/usr/local/bin/sks db
Restart=always
[Install]
WantedBy=multi-user.target
Second, for the recon instance:
[Unit]
Description=Synchronizing key server recon instance
After=network.target
Wants=network.target
[Service]
Type=simple
WorkingDirectory=/var/lib/sks
ExecStart=/usr/local/bin/sks recon
Restart=always
[Install]
WantedBy=multi-user.target
I did try to combine these into a single file, but for this type of
service, you can only have one ExecStart line each. It's possible the
Type=simple line should be Type=forking, but it seems to be working as
simple, so I'm still watching that.
- --
David Benfell
address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQIcBAEBAgAGBQJQE0wUAAoJELT202JKF+xpM18P/i2/3qqaq3O89wap7mFBqno3
ZOb2Zc4zynW3wCuvnGJ+2EltlmLTQW+BdBAu4L0y36Y3slFPL2iu/31QnZrtqys1
Rt8miycHyh6t5Gq8E1tizwxhAsrtW0RpHUr7UNr4H3RCMfPCFuDeEiuVyUj1jETW
roakcP/DmhZAUA+R1SvxDa7n3fIdVvonIp0ZdIxXlQ3ouJ3nXMEZBMTTn0oiWhzb
4W4rJnijoxrH4X7xZ9bn1zFEDShW5HX3npd6buI1DkUUnzRRjMscqYymbAxomC4k
yXthsGIHIWwMG1zUP2XaesPrve04/2JujG35rrLwoEjhF5Hix1ZGsUZdmlLnxccs
EiAnlu3jLNag0Q59E83o6+ARss9rBjDBdvIL5UzCskPsp6BE5zesrwi6GEZTduz2
7tEye5Xfu5rin7xd5kfIECEsewKieX6jFi2SzG9PyO5glHWbCSl1PerdufaJF3m/
8iK49NHmUdYRMcnn7vaLpe2c/sc3uGUNL8Cf4A1n1lCTbxNLD1voQKE06ZHaI06L
Nq+mugnJ8kOSjxbN/qpWrAzC9F+HUr8OiaQz0Xtn6Bhr597SVYC2F/dWZx1VvCSw
0/ibGhz/RLGSJwIZzKiGvdNFY7HCBB/IkzpSmSIgX+wuYryLSqtx+HSCOyKseg0v
TLPDdHnI/U7wNWqYcGtt
=5CiF
-----END PGP SIGNATURE-----
benfell.vcf
Description: Vcard